Hi,

I have a problem which is discussed in the users
mailing list as "charset problem". Some content
providers in Turkey do not add any encoding
declaration to the wml source of their wap sites, but
still use Turkish charset.
With Kannel, these pages are not reachable. In the
logs , we see "indicate encoding" messages.
I can not go to all content providers and force them
to add encoding declaration.
Other wap gateways show these pages successfully.
I know that this problem occurs because of the
behaviour of libxml2. I need to add an encoding
declaration to all the wml sources before sending them
to the xml parser. But I do not know how to do this.
Can someone help me with this problem ?

Kind Regards,
ilker

--- Oded Arbel <[EMAIL PROTECTED]> wrote:
> Subject: RE: charset problem
> From: "Oded Arbel" <[EMAIL PROTECTED]>
> To: "ilker Aktuna" <[EMAIL PROTECTED]>,
> <[EMAIL PROTECTED]>
> Date: Tue, 20 Aug 2002 13:28:30 +0300
> 
> 
> 
> > -----Original Message-----
> > From: ilker Aktuna [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 20, 2002 12:23 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: charset problem
> > 
> > 
> > Thanks.
> > With this information, I hope I can write a new
> > gateway software :)))
> 
> Just for adding a line of text ? I hope you are
> joking.
> 
> To do it externally is not terribly complicated -
> write a web script (for example) that will accept
> the HTTP calls from Kannel, get the appropriate url
> from the content provider, and add a line at the top
> of the content '<?xml encoding="iso-8859-9"?>'
> before sending the content back to Kannel. inside
> Kannel, you can do the same by finding where the
> call ot the XML parser and doing an octstr_insert
> with the same line on the data.
> 
> --
> Oded Arbel
> m-Wise mobile solutions
> [EMAIL PROTECTED]
> 
> +972-9-9581711 (116)
> +972-67-340014
> 
> ::..
> "All you need to make a movie is a girl and a gun"
>     -- Jean Luc Godar
> 


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

Reply via email to