George Vagenas wrote:
Hi Petros,

Thanks for your reply. What you suggest is to send the messages like this:

ΚΑΛΗΜΕΡΑ = KA%14HMEPA

using the URL encoding for the GSM 7-bit alphabet which is working fine.
The important thing to note in this case, is that all letters that look the same in the second part are latin (ie capital latin (ascii) ``K'', capital ``A'' etc). The greek letters that are defined in this charset are the ones that differ in appearance with latin ones.

Is there a way to send small greek letter also?
Not without resorting to unicode.. But then you'd be giving up at 160 chars per sms.
And is there any tool available for converting Greek text to encoded text?
Not really, but is trivial to write one (example in perl), the letters that are of interest are:
$delta = chr(0x10);
$phi = chr(0x12);
$gamma = chr(0x13);
$lambda = chr(0x14);
$omega = chr(0x15);
$pi = chr(0x16);
$psi = chr(0x17);
$sigma = chr(0x18);
$theta = chr(0x19);
$ksi = chr(0x1A);

$sms =~ tr/Φ/$phi/;
#etc....
of course, you should also tr/Α/A/; (capital greek iso-8859-7 ``A'' to ascii ``A'') if you have no control over the input - and maybe even if you do... you get the point

Thanks

On 11/2/06, *Petros Diveris* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi George,

    I have a feeling that the url you are triggering wont work, since
    you need to encode the Greek part of it first.

    Have a look at http://www.w3.org/International/O-URL-code.html

    Cheers

    Petros


    George Vagenas wrote:
    Hi All,

    I am running stable kannel 1.4.1 and i can send with no problem
    but i can't send Greek messages (uppercase). Any idea?

    Thats the URL i am using:
    
http://192.168.0.205:13131/cgi-bin/sendsms?username=user&password=pwd&from=302111111111&to=306932363163&text=
    
<http://192.168.0.205:13131/cgi-bin/sendsms?username=user&password=pwd&from=302111111111&to=306932363163&text=>ΔΥΟθ

    Thanks

-- George Vagenas
    +30 6932 363 163


-- awellknownsecret
    server and content development

    18, Rockdove Avenue
    Manchester, M15 5FH

    t: +44 (0) 161 226 0025
    m: +44 (0) 7771 608 617




--
George Vagenas
+30 6932 363 163


Reply via email to