Dimitris,
 
You have to change the charset.c file (which resides under the gwlib directory), and compile the gateway again (make, make install). Here are the instructions:
STEP 1 : FTP the file to a computer running Win9x/2k/XP OS
STEP 2 :. Edit the file as follows (check out the RED points)
 
 
.
.
.
/* Map GSM default alphabet characters to ISO-Latin-1 characters.
 * The greek characters at positions 16 and 18 through 26 are not
 * mappable.  They are mapped to '?' characters.
 * The escape character, at position 27, is mapped to a space,
 * though normally the function that indexes into this table will
 * treat it specially. */
static const unsigned char gsm_to_latin1[128] = {
  '@', 0xa3,  '$', 0xa5, 0xe8, 0xe9, 0xf9, 0xec,   /* 0 - 7 */
 0xf2, 0xc7,   10, 0xd8, 0xf8,   13, 0xc5, 0xe5,   /* 8 - 15 */
  'Δ',  '_',  'Φ',  'Γ',  'Λ',  'Ω',  'Π',  'Ψ',   /* 16 - 23 */
         'Σ',  'Θ',  'Ξ',  ' ', 0xc6, 0xe6, 0xdf, 0xc9,   /* 24 - 31 */
 
.
.
.
 
 /* 192 - 199 */
 'A', /* approximate A grave */
 'A', /* approximate A acute */
 'A', /* approximate A circumflex */
  19, /* approximate A tilde */
  16, /* A dieresis */
  14, /* A ring */
  28, /* AE ligature */
   9, /* C cedilla */
 
 /* 200 - 207 */
 25, /* approximate E grave */
  31, /* E acute */
 'E', /* approximate E circumflex */
 20, /* approximate E dieresis */
 'I', /* approximate I grave */
 'I', /* approximate I acute */
 26, /* approximate I circumflex */
 'I', /* approximate I dieresis */
 
 /* 208 - 215 */
 22, /* Eth */
  93, /* N tilde */
 'O', /* approximate O grave */
 24, /* approximate O acute */
 'O', /* approximate O circumflex */
 'O', /* approximate O tilde */
  18, /* O dieresis */
 'x', /* approximate multiplication sign */
 
 /* 216 - 223 */
  23, /* O slash */
 21, /* approximate U grave */
 'U', /* approximate U acute */
 'U', /* approximate U circumflex */
  94, /* U dieresis */
 'Y', /* approximate Y acute */
 NRP, /* approximate Thorn */
  30, /* german double-s */
.
.
.
STEP 3: FTP the file back to linux, in the same directory (/gwlib) replacing the existing file
 
STEP 4 : Re-compile the gateway (make, make install)
 
The new bearerbox,smsbox are now greek-enabled
 
If you need further instructions, or you have any problems you can call me at 210-6679169, working hours.
 
Hope it works (testd on RedHat 7.3)
 
Panagiotis Stamatopoulos
-----Original Message-----
From: Karathanasis Dimitris [mailto:[EMAIL PROTECTED]
Sent: Friday, November 21, 2003 10:17 AM
To: [EMAIL PROTECTED]
Subject: greek support
Importance: High

Hi everyone!!!!. Could someone help me how to send messages with greek characters with smpp protocol? I have configured kannel in redhat linux 9. It send messages with latin characters but when I write greek the getting sms is wrong…It’ s very urgent because I have a client that wants to send sms in greek!!! What changes I have to do and In what files?

 

 

Thanks in advance…

 

Karathanasis Dimitris
System Administrator
Τηλ.: 210 5156240 -  Fax: 210 5156250
Email:
[EMAIL PROTECTED]

 

 

###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.

Reply via email to