Re: *.WML pages encoding

From: Andre E. Bar'yudin (baryudin_at_nonexisting.hamakor.org.il)
Date: Mon 19 Jan 2004 - 22:13:32 IST


On Mon, Jan 19, 2004 at 05:04:09PM +0200, Oleg Sverdlov wrote:
> Hi there,
> have you tried to set the encoding in HTTP header ?
>
> Content-type: text/vnd.wap.wml; charset=koi8-r
>
> And print XML header the usual way:
>
> <?xml version="1.0"?>

That would be definitely incorrect, since the default encoding for XML
is UTF-8, which contradicts to the HTTP header. So, much better would
be giving:

   <?xml version="1.0" encoding="KOI8-R"?>

Regards,

Andre.

-- 
Andre E. Bar'yudin
Home page: http://www.cs.huji.ac.il/~baryudin/
=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il


This archive was generated by hypermail 2.1.7 : Mon 19 Jan 2004 - 22:24:30 IST