gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Greek support for SMS: How does it ACTUALLY work?


From: Tirs Abril
Subject: Greek support for SMS: How does it ACTUALLY work?
Date: Tue, 15 May 2007 15:41:26 +0200
User-agent: KMail/1.8.2

Hello! After a long time lurking the list :-) I finally have a question to 
ask. After several years using Gnokii as part of an email-to-SMS interface, 
now I need to send SMS in Greek language. To simplify, let's say that I do it 
like this:

cat myfile |gnokii --sendsms 612345789

("myfile" is a text file derived from the e-mail after some processing, and 
not the e-mail itself, and of course "612345789" is a sample made-up number).

As a result, the receiving phone 6123456789 gets a message where Greek 
characters are all displayed small squares. However, if I send an SMS from a 
Greek cellphone, the Greek characters are displayed fine. Even if I send it 
from the Greek cellphone to the phone connected to Gnokii, they appear fine 
on it, and "gnokii --getsms" reads it correctly. Therefore I believe it is 
not a cellphone problem.

I have modified the table at "common/gsm-encoding.c", putting the appropiate 
byte values from the GSM 03.38 default character set (i.e. greek Alpha is 
0x94, greek Gamma is 0x93, etc), replacing the '?' marks.

No matter which encoding I use for the "myfile" text, I cannot get decent 
results. I also tried with the "-8" parameter, to no avail.

Can anyone please tell me:

1) Which encoding should I use for the Greek text to be piped into Gnokii?

2) Which parameter[s] should I use? The only one which appears to do something 
here is -8, but up to now it has been useless in all combinations.

3) Any changes to do to Gnokii for the encoding, internal default values (i.e. 
"sms_default" function in "common/gsm-sms.c")?

I have been browsing the mailing list archives and I have found some 
references to Greek and the fact that it does work, but nothing has been 
really helpful.

Please give me some help with this. Thank you!

Technical details, should they be useful:

-Version of Gnokii has been 0.6.4, 0.6.7 and now is 0.6.15
-$LC_ALL has been tested as just empty, "el_GR" and our native "es_ES".



/etc/gnokiirc is as follows:
=================================================
[global]
port = /dev/ttyS0
model = 7110
initlength = default
connection = dau9p
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 15

[gnokiid]
bindir = /usr/local/bin/

[connect_script]

[disconnect_script]

[logging]
debug = on
rlpdebug = on
xdebug = on
===============================================




-- 
_____
 |!rs
Tirs Abril i Sanz
e-Business department
Management System Solutions (MSS)
Galileo, 303; Atic
08028 - Barcelona (Spain)
Tel: (+34) 934 196 343
Fax: (+34) 934 196 561
e-Mail: tirs at(@) mss dot(.) es
Web: http://www.mss.es




reply via email to

[Prev in Thread] Current Thread [Next in Thread]