Re: Character Set Question (WAP)

Jonathan Houser <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
>      A basic question for the developers.  In the WAP side of things, 
> all traffic is converted it seems to UTF-8 before being 'compiled'.  Yet 
> the Character Set is being sent to the phone as the incoming one.  Is 
> this the way it should work?  (Or should the Character Set be UTF-8?)  I 
> ask because a specific site (tagtag) sends a Character Set of ISO-8859-2 
> which the end user phones we've tested with don't understand.  Nor does 
> my WapIDE phone simulator.  ISO-8859-1, like what my personal WAP server 
> sends, work fine.  I am just wondering if I could make a patch to send 
> the Character Set as UTF-8 in all cases (or at least those where it's 
> converted first) and not break any rules.  Thanks in advance.
> 
> Jon
> 
> P.S.  The web site URL giving me issues is:
> 
>    http://tagtag.com/site/wapdir/index.php
> 
> This is with a GSM handset so you may be able to test and get the same 
> results.  I found the Character Set being sent via tcpdump and ethereal 
> as it's not listed in the debug output from Kannel.

      Looks like it's the Character Set in the <?xml section (ie. 
encoding=) that's causing the problem.  I checked the code and stumbled 
across a TODO.  Guess I'll look into DOing it.  Thanks.

Jon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.