Re: Character Set Question (WAP)

Paul P Komkoff Jr <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Department of Fish & Wildlife
Message-ID <[email protected]>
Replying to Stipe Tolj:
> >Looks that you're one of a few people who actually using kannel as a
> >wap gateway, not as smsrouter.
> >Take a look at my patchset. It worth it. In particular, almost all of
> >charset problems are solved here.
> 
> Paul, I have commented already your patch, right? Can you please outline 
> again why you things are done here (with your patch) the right way?!

Sorry for delay, I am pushing numerous software projects here so was
unable to make any progress on kannel front.

Basically, in attached patch I've:
1. excluded logic that will add into accept-charset REQUEST headers
charsets that wml_charsets returns.
2. if find_charset_encoding returns null then set charset to one
mentioned in http headers, not to default UTF-8
3. later, if any charset conversion occurs, then remove <?xml
encoding?> preamble to not confuse wml compiler.

-- 
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key <- my pgp key
 This message represents the official view of the voices in my head
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.