Good day everyone!

I'd just like to know if anyone on the list knows how to send and receive
Chinese characters through Kannel.

We've successfully sent Chinese characters using Kannel's sendsms utility (by
specifying the charset and coding), but what we need is to be able to reply
with Chinese characters whenever Kannel calls our PHP applications. According
to the documentation, X-Kannel-Headers seem to be the key to this, but I
can't them to work in PHP (I call them using the `header` function).

I'm also having problems recognizing Chinese characters sent to Kannel. When
 I look at Kannel's logs, this is what I see:

http://x.x.x.x/default.php?from_no=9999999&to_no=2333&keyword=N%AC&message=N%
AC'

(The parameters used where %p, %P, %k and %a.)

The problem is, when I tell my PHP application to echo a message whenever the
message=`N%AC` the message doesn't appear, meaning that the two strings are
never equal. When I have my application print the message anyway, it appears
on the cell phone as `N!`. I've also tried equating the message to `N!` but
it doesn't work either.

Anybody out there encounter this problems or know how I can solve them? I'd
really appreaciate the help!

Thanks for reading, everyone.
Carl


Reply via email to