hello Mike,

thank you for your answer!

i am suspecting that you leave the smpp connection to it's default charset
(that is gsm7), right?

this way, yes, greeks will do pass correctly however that does not stand for
many other gsm7 character, right?

yes, in most cases you won't need them but was looking for a completely
"correct" solution.

it seems, after reading Thanos' patch, that such solution is not possible
unless you patch kannel like Thanos suggested (was trying to avoid this).

kind regards,

/mstelios


Stelios Mavromichalis
Cytech Ltd. - http://www.cytech.gr/
Science & Technology Park of Crete
fax: +30 2810 39 1941
tel.: +30 2810 31 4127
mob.: +30 697 7078013
skype: mstelios


2010/9/3 Cariotoglou Mike <[email protected]>

>  talk about synchronicity!
>
> I just faced (and solved) the exact same issue.
>
> here is what to do :
>
> 1. make sure that your message is encoded in WINDOWS-1253
> 2. change all greek letters to upper case, no accent
> 3. search the message, and replace ALL characters EXCEPT the 10 Greek
> characters, to their English equivalents
>
> so, Greek alpha 0xC1 becomes 0x41, BUT greek DELTA stays as it is !
>
> 4. url-encode the text of the message
>
> 5. add the following parameter to your HTTP GET API call :
> charset=WINDOWS-1253
> (so that Kannel understands the 10 greek characters)
>
> done !
>
> this worked for me, (30 minutes ago) just fine, for vodafone SMSC. it may
> work for the other providers as well, who knows...
>
>
> PS this procedure may also work if the message is encoded otherwise, e.g
> unicode, but I have not tested it. the main idea to keep is that you REPLACE
> all greek charcters EXCEPT the 10...
>
>
>  ------------------------------
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Stelios Mavromichalis
> *Sent:* Friday, September 03, 2010 3:37 PM
> *To:* [email protected]
> *Subject:* smpp latin1 and greek chars....
>
> hello everyone,
>
> i have an smpp connection with alt-charset parameter set to latin1.
>
> the provider mapped the (missing from latin1) 10 capital greek letters
> included in the gsm charset into their exact same position in the latin1.
> meaning that for instance the greek capital letter Delta (Δ) is mapped on
> latin1 position 0x10 (which happens to be the exact same position in gsm
> charset).
>
> my problem is that i can't convince kannel 1.4.3 using it's http api to
> send any of those characters. it converts them to "?" no matter what i do.
>
> any ideas?
>
> kind regards,
>
> /mstelios
>
>
> Stelios Mavromichalis
> Cytech Ltd. - http://www.cytech.gr/
> Science & Technology Park of Crete
> fax: +30 2810 39 1941
> tel.: +30 2810 31 4127
> mob.: +30 697 7078013
> skype: mstelios
>
>

Reply via email to