I'm using Kannel to send receive Arabic messages: 1- in smsbox group add "mo-recode=true". 2- When receiving mo in my servlet, I convert the received sms from "ISO-8859-1" to "utf-8". 3- When sending with the sendsms url I add the parameters "&charset=utf-8&coding=2". 4- I insert the received mo into mysql table which uses "utf-8" charset. Note: I can see the correct arabic characters in the smsbox logs. As Mr. Alejandro Guerrieri said : "You could start by posting some relevant log entries showing what you receive"
Regards. Benaiad On Tue, Jun 16, 2009 at 1:09 PM, Arnie white <[email protected]> wrote: > it did not work with me > all time receive ??????????????? > > > On Tue, Jun 16, 2009 at 9:49 AM, Benaiad <[email protected]> wrote: > >> Dear Arnie, >> >> Try to convert the received message to utf-8. >> From my servlet I do like this: >> String moText = new >> String(request.getParameter("text").getBytes("ISO-8859-1"), "utf-8"); >> >> Regards >> Benaiad >> >> On Tue, Jun 16, 2009 at 9:38 AM, Arnie white <[email protected]>wrote: >> >>> Dear all : >>> im trying to receive uncode mssages in kannel ,but its garbage ,is there >>> any one can help me for this , >>> >> >> >
