From: David Sapir (david_sapir_at_nonexisting.hamakor.org.il)
Date: Tue 20 Jan 2004 - 13:29:26 IST
Hi Guys,
When you use WML that should be displayed on a cell phone, the protocol HTTP
is never used. Instead you used the WAP protocol, which is its equivalent to
HTTP, but somehow different.
If you want to use header, isuggest you look for them in WAP and not in
HTTP.
David.
>From: Tzafrir Cohen <tzafrir_at_technion.ac.il>
>To: linux-il_at_linux.org.il
>Subject: Re: *.WML pages encoding
>Date: Mon, 19 Jan 2004 23:55:12 +0200
>
>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 ?
>
>--
>Tzafrir Cohen +---------------------------+
>http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
>mailto:tzafrir_at_technion.ac.il +---------------------------+
>
>=================================================================
>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
>
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
=================================================================
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 : Tue 20 Jan 2004 - 13:40:37 IST