Dear all,
I manage to solve my problem. Thanks alot to group
--
Prasad
On 9/25/06, Kavuri Prasad <[EMAIL PROTECTED]> wrote:
Dear all,I am using Kannel 1.4.0 on Fedora 4 core. I have a problem with Character encoding. I also specified mo-recode=1 so kannel is converting MO message from UCS2 to UTF-8(Hex format).Other end I am using Java application to process the incoming message. Until now iam using GET-URL to send the message from Kannel to my Java application. So when it is sending an UTF8 message it sending with %.Example: my message "test ฟธชฟขจงจขจงจ(this is THAI)". Kannel send this message to Java application as "test%20%E0%B8%9F%E0%B8%98%E0%B8%8A%E0%B8%9F%E0%B8%82%E0%B8%88%E0%B8%87%E0%B8%88%E0%B8%82%E0%B8%88%E0%B8%87%E0%B8%88". But when I receive this in my java application it is printing as junk. i tried to decode it with different Charsets, but it doesn't work.Any ideas ?1) Then I thought of sending the message through POST-URL. But I am not sure which ServletRequest method to use to retrive the Message. I can retrive Remaining all values like sender, Content type, UDH, Length using getHeader .. (As Kannel is sending them as Header). But how about message?2) If the message is fully in Hex format means I can do some String formatting and convert to the Thai. But the problem here is my message is conbination of English and THAI. So Kannel is forwarding English characters with out converting to HEX format. Is there any way of converting every thing to Hex format at kannel?Please show me a way to solve this ...if you need any info to solve it i am ready to provide ...Thanks,Prasad Kavuri.