Re: [Html2wml] convert to ascii in cgi mode
Brought to you by:
maddingue
From: <mad...@fr...> - 2003-09-14 20:45:16
|
On dimanche, sep 14, 2003, at 20:00 Europe/Paris, Razvan Cosma wrote: >> If you want Html2Wml to convert non-ASCII characters, use the -n >> option. You can make it permanent by editing the source changing the >> line 78 this way: >> 'numeric-non-ascii' =3D> 1, ## convert non-ASCII characters to >> numeric entities > > I did specify that, I was expecting it would replace eg. =A9 with (c),=20= > not the html numeric code. That would be cool for dumb phones - like=20= > mine ;) Well a good phone should recognise the =A9 character, as it is defined = in=20 the ISO-8859-1 charset. There already the -a option that converts named entities to ASCII=20 characters (using Lynx-like equivalents), so I'll extent it so that it=20= also converts non-ASCII characters. Regards, S=E9bastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ]= |