Thank you so much... I'll try it first... Regards
----- Original Message ----- From: "Bruno Rodrigues" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 05, 2003 6:54 PM Subject: Re: Fw: Chinese characters > Permata Abdul Hussain <[EMAIL PROTECTED]> wrote: > > [-- text/plain, encoding quoted-printable, charset: iso-8859-1, 31 lines --] > > > > Can anyone please advise me on this.... > > > > Regards, > > Permata > > > > ----- Original Message ----- > > From: Permata Abdul Hussain > > To: [EMAIL PROTECTED] > > Sent: Friday, August 01, 2003 3:59 PM > > Subject: Chinese characters > > > > > > Guys, > > > > Can you help me on this... > > > > I'm sending a Chinese instruction from my mobile phone and get this in get-url from kannel.conf > > This is what I send: ipay30 and 2 Chinese characters > > > > http://10.10.10.1/engine.cgi?username=xxx&password=xxxx&keyword=%00i%00p%00a %00y%003%000%00&sndkeyword=O%60Y%7DT%17&text=&allmsg=%00i%00p%00a%00y%003%00 0%00+O%60Y%7DT%17&binary=%00i%00p%00a%00y%003%000%00+O%60Y%7DT%17×tamp= 2003-07-29+17:52:14&from=123456789&to=222222 > > If you set "mo-recode = true" in your smsbox group's configuration, > kannel will try to recode your message to iso-8859-1, then to utf-8. > > Your message is in UCS2 (UTF16), and you can see that by adding %c > (coding) and/or %C (charset) to your get-url string. > > binary is formed by > %00 + i = i > %00 + p = p > %00 + a = a > %00 + y = y > %00 + 3 = 3 > %00 + 0 = 0 > %00 + "+" = space > O + %60 = ? > Y + %7D = ? > T + %17 = ? > > Kannel is not processing perfectly the encoding and breaks > keyword|sndkeyword in the ascii space, instead of a ucs2 space, > leaving keyword with an extra byte, the second UCS2 byte for the > space. > > Try to recode it to utf8 or have your external application read %c/%C > and do the re-conversion from ucs2 to your encoding (utf8? big5?) > > > > What's actually the system converting my request to.. How can I read this.. For keyword it doesn't seams like hex code. > > > > Regards > > >
