--------------enigE43E102F822553B82F87372A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Miquel Oliete wrote: > Hi all > > How can I convert from utf-8 to HMTL ampersand entities and from HTML > ampersand entities to utf-8 (I'm searching it a lot but I can found it)? > > Thanks in advance > iconv from UTF8 to UTF16, add up the two bytes, pray it wasn't a surrogate pair, and convert to hex? David Vallner --------------enigE43E102F822553B82F87372A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFWPf9y6MhrS8astoRAvm8AJ9RLo/6VIPOIYftqQELxxvZsUoHcACfY+Lh 09eJFAMEHiET6VWM/ww+CIk߱U -----END PGP SIGNATURE----- --------------enigE43E102F822553B82F87372A--