Le 22/11/96 ˆ 09:26 +0100 , Peter Van Avermaet nous disait: > However, it transforms one byte into another one, whereas the original >request > was to transform every "special byte" into a "&tag;" string. I think there is what you are looking for in LIBWWW See the the quote below. > package HTML::Entities; > > # $Id: Entities.pm,v 1.8 1996/09/06 07:18:46 aas Exp $ > > =head1 NAME > > decode - Expand HTML entities in a string > > encode - Encode chars in a string using HTML entities > > =head1 SYNOPSIS > > use HTML::Entities; > > $a = "Våre norske tegn bør æres"; > decode_entities($a); > encode_entities($a, "\200-\377"); > > =head1 DESCRIPTION > > The decode_entities() routine replaces valid HTML entities found > in the string with the corresponding ISO-8859/1 character. > > The encode_entities() routine replaces the characters specified by the > second argument with their entity representation. The default set of > characters to expand are control chars, high-bit chars and the '<', > '&', '>' and '"' character. -- Stef ___S__t__e__p__h__a__n__e______J__o__s__e___ mailto:jose.stephane@uqam.ca http://www.er.uqam.ca/nobel/m206474/