Re: error converting utf16 to utf8 (fwd) (fwd)

Rogelio Serrano <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <89288f518bac1057b83096b74a95e9bf@debian>
---------- Forwarded message ----------
Date: 2004-08-02 17:48:39 +0800
 From: Rogelio Serrano <[email protected]>
Subject: Re: error converting utf16 to utf8 (fwd)

---------- Forwarded message ----------
Date: 2004-08-02 17:46:02 +0800
 From: Rogelio Serrano <[email protected]>
Subject: Re: error converting utf16 to utf8

On 2004-08-02 16:24:02 +0800 Rogelio Serrano 
<[email protected]> wrote:

> On 2004-08-02 16:20:30 +0800 Rogelio Serrano 
> <[email protected]> wrote:
> 
>> im sending these two chinese characters: 0x6e2c and 0x8a66;
>> 
>> with mo-recode = false the characters are received correctly 
>> as utf16-be:
>> g%2C%8Af
> 
> sorry that should be:
> n%2C%8Af
> 
>> 
>> with mo-recode = true i get as utf-8:
>> %E2%98%A3%E3%88%B8%E3%88%B0%E3%90%BB%E2%98%A3%E3%8C%B5%E3%90%B3%E3%80%BB
>> 
>> its supposed to be:
>> %E6%B8%AC%E8%A9%A6
>> 
>> 
>> 

The utf16 text is being recoded twice in obey_request_thread. I 
commented out the first recode and it worked.
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.