On Mon, Jan 19, 2004 at 11:55:12PM +0200, Tzafrir Cohen wrote:
> On Mon, Jan 19, 2004 at 10:13:32PM +0200, Andre E. Bar'yudin wrote:
> > 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.  
> 
> In HTML when such a contradiction occours the http header is used (that
> is: if an http content type header is avilable: it is used rather than
> the one from the HTML file).
> 
> Isn't this the case with WML ?

With all them smart-phones and other simple WAP devices, you never know,
so better be precise.

Regards,

Andre.

-- 
Andre E. Bar'yudin
Home page: http://www.cs.huji.ac.il/~baryudin/

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to