Hi,
    This covers the Greek letters (php):

define('EL_GAMMA', chr(hexdec('0x13')));
define('EL_DELTA', chr(hexdec('0x10')));
define('EL_THETA', chr(hexdec('0x19')));
define('EL_LAMDA', chr(hexdec('0x14')));
define('EL_XI', chr(hexdec('0x1A')));
define('EL_PI', chr(hexdec('0x16')));
define('EL_SIGMA', chr(hexdec('0x18')));
define('EL_PHI', chr(hexdec('0x12')));
define('EL_PSI', chr(hexdec('0x17')));
define('EL_OMEGA', chr(hexdec('0x15')));

$en2el_table = array(
    '$G'=>EL_GAMMA,
    '$D'=>EL_DELTA,
    '$U'=>EL_THETA,
    '$L'=>EL_LAMDA,
    '$J'=>EL_XI,
    '$P'=>EL_PI,
    '$S'=>EL_SIGMA,
    '$F'=>EL_PHI,
    '$C'=>EL_PSI,
    '$V'=>EL_OMEGA,
);


function replace_tokens($str, $en2el_table) {
    foreach ($en2el_table as $k=>$v) {
        $str = str_replace($k, $v, $str);
    }
   return $str;
}

$text=replace_tokens($text, $en2el_table);


Eric Kandja wrote:
> Hi List,
>  
> According to the GSM 03.38 encoding spec. The characters listed below should 
> be 
> sendable using the GSM encoding.
>  
> @£$¥èéùìòØøÅå_ΦΓΛΩΠΨΣΘΞÆæßÉ
> !"#¤%&'()*+,-./0123456789:;<=>?¡ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÑܧ¿abcdefghijklmnopqrstuvwxyzäöñüà^{}\[~]|€
>  
> I’m however unable to send most French , Latin or Greek characters using 
> kannel.
> In particular I’m unable to send the following characters 
>  
> - Èéùìò äöñüàäöñüàØøÅå_Φ
>  
> Is there anyone who is successfully sending French / Latin /Greek characters 
> using Kannel with GSM encoding? 
> Could you please post a configuration which works ..?
>  
> Kind regards.
>  
> Eric
>  
>  
>
>  
>
>
>
> ------------------------------------------------------------------------
>
> Antivirus avast! <http://www.avast.com>: message Sortant sain.
>
> Base de donnees virale (VPS) : 071213-0, 13/12/2007
> Analyse le : 13/12/2007 21:48:21
> avast! - copyright (c) 1988-2007 ALWIL Software.
>
>


-- 
Kyriacos Sakkas
Development Team
Netsmart
Tel: + 357 22 452565
Fax: + 357 22 452566
Email: [EMAIL PROTECTED]
http://www.netsmart.com.cy

Taking Business to a New Level!

** Confidentiality Notice: The information contained in this email
message may be privileged, confidential and protected from disclosure.
If you are not the intended recipient, any dissemination, distribution,
or copying of this  email message is strictly prohibited.
If you think that you have received this email message in error, please
email the sender at [EMAIL PROTECTED] **


Reply via email to