Hello Rene;

I have tried your text with following URL:

*UrlEncode text as "iso-8859-1"

*/cgi-bin/sendsms?username=REMOVED&password=REMOVED&to=REMOVED&from=REMOVED&text=%40%A3%24%A5%E8%E9%F9%EC%F2%C7%D8%F8%C5%E5%10_%12%13%14%15%16%17%18%19%1A%5E%7B%7D%5B%7E%5D%7C%80%C6%E6%DF%C9%21%22%23%A4%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%A1ABCDEFGHIJKLMNOPQRSTUVWXYZ%C4%D6%D1%DC%A7%BFabcdefghijklmnopqrstuvwxyz%E4%F6%F1%FC%E0&mclass=1&coding=0

and the Greek characters were substituted for question marks, but then I tried to send GSM character set URLEncoded as follow:

*UrlEncode text as "utf-8"*

/cgi-bin/sendsms?username=REMOVED&password=REMOVED&to=REMOVED&from=REMOVED&text=%40%c2%a3%24%c2%a5%c3%a8%c3%a9%c3%b9%c3%ac%c3%b2%c3%87%0a%c3%98%c3%b8%0d%c3%85%c3%a5%ce%94_%ce%a6%ce%93%ce%9b%ce%a9%ce%a0%ce%a8%ce%a3%ce%98%ce%9e%c3%86%c3%a6%c3%9f%c3%89+!%22%23%c2%a4%25%26'()*%2b%2c-.%2f0123456789%3a%3b%3c%3d%3e%3f%c2%a1ABCDEFGHIJKLMNOPQRSTUVWXYZ%c3%84%c3%96%c3%91%c3%9c%c2%a7%c2%bfabcdefghijklmnopqrstuvwxyz%c3%a4%c3%b6%c3%b1%c3%bc%c3%a0%5e%7b%7d%5c%5b%7e%5d%7c%e2%82%ac&mclass=1&coding=0

Greek chars received as expected.

Woring example text contains both extended GSM characters and default GSM character set. I /think/ Kannel is expecting us to URL encode text as UTF8.

I am not using SqlBox; Kannel bearerbox version svn-r4833;

--
*Muamer Bajric*


On 12.08.2010 00:18, users-requ...@kannel.org wrote:
Message: 1
Date: Wed, 11 Aug 2010 18:02:21 +0200
From: "Rene Kluwen"<rene.klu...@chimit.nl>
To:<users@kannel.org>
Subject: GSM characters
Message-ID:<001f01cb396e$96851140$c38f33...@kluwen@chimit.nl>
Content-Type: text/plain; charset="utf-8"

Suppose I send the following text to Kannel?s sendsms url (the complete GSM 
character set):



text=%40%A3%24%A5%E8%E9%F9%EC%F2%C7%D8%F8%C5%E5%10_%12%13%14%15%16%17%18%19%1A%5E%7B%7D%5B%7E%5D%7C%80%C6%E6%DF%C9%21%22%23%A4%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%A1ABCDEFGHIJKLMNOPQRSTUVWXYZ%C4%D6%D1%DC%A7%BFabcdefghijklmnopqrstuvwxyz%E4%F6%F1%FC%E0



Then I should get the following text on my phone:



@?$????????????_?????????^{}\[~]|?????!"#?%&'()*+,-./0123456789:;<=>??ABCDEFGHIJKLMNOPQRSTUVWXYZ??????abcdefghijklmnopqrstuvwxyz?????



However, I get a different display string. The Greek characters are substituted 
for question marks.



Is this my phone that is acting up? Maybe somebody can test this string for me?



My upstream connection is SMPP that accepts the GSM character set. So 
alt-charset is not needed.



== Rene

Reply via email to