gasmen wrote:
>
>
>
> Jovan Kostovski-2 wrote:
>>
>> On Thu, Jul 22, 2010 at 2:16 PM, gasmen <xma...@live.com> wrote:
>>>
>>> HI all
>>> i am using kannel 1.4.3 and i see that kannel dont support some
>>> characters
>>> like the frensh .for this i am looking ho to add servlet to implement
>>> utf-8
>>> encoding ;that means i am using myeclipse to devoleop it and i ask
>>> exactly
>>> how is the form of the request and the respons i will use for this
>>> servlet???
>>
>> When you send the http request to kannel you have to URL encode all
>> the text fields.
>> This means that you will set the message text as utf-8 text, and then
>> do URL encoding before
>> creating the sendsms url for kannel.
>>
>> for example:
>>
>> String messageText = URLEncoder.encode("UTF-8 encoded text", "UTF-8")
>> String sendsmsURL =
>> "http://localhost:13131/cgi-bin/sendsms?username=...&password=...&text="
>> + messageText;
>>
>>
>> BR, Jovan
>>
>>
>>
> HI
> so i will create java servlet and i will upload it in tomcat and get the
> url of this servlet!!!
> after that how i will return the message with utf??
> please explain to me more!!!
>
you need to know that i am not using url to send messages !!! am using the
group = sms
smsc = fake
--
View this message in context:
http://old.nabble.com/how-to-implement-servlet-to-kannel-to-add-the-utf-8-coding-tp29236163p29246317.html
Sent from the Kannel - User mailing list archive at Nabble.com.