Hi Stipe Tolj, I havent got a response to my post below so far. May be users have not come across this issue yet. Let me give more details on what I want to accomplish.
1) I create a multilingual text file using notepad on windows. I then save this as a UTF-8 file. I read this into my java program as a UTF-8 string. The string looks like "%24%04+%45%09..". There is a PLUS sign for a space character. When I pass this string to Kannel as a HTTP post through cgi-bin/sendsms with coding=2&charset=UTF-8, it is delivered and displayed correctly on the device. 2) I now want to send this message to multiple recipients by doing an XML POST to Kannel. I don't seem to find out the CHARSET element in Kannel XML. How do I set this? Regards Ravi > _____________________________________________ > From: ravi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 23, 2008 4:48 PM > To: '[email protected]' > Subject: KANNEL XML POST - How to set charset? > > I have an issue in sending multilingual message to a > group of numbers as an XML post through Kannel. The > issue is as below: > > I read a UTF-8 encoded multilingual message from a > file, set the coding=2 and charset=UTF-8 and post a > HTTP request to kannel's cgi-bin/sendsms application. > The message is displayed correctly on the device. But > if I send the same message to a group of numbers as an > XML to Kannel, the device receives special characters. > This, I guess is due to not being able to set the > charset=UTF-8 in the XML request. How do I set the > "charset" in a Kannel XML request? > > Would appreciate your assistance please. > regards > ravi >
