Hello to both,
Seik you are right in what you are saying but I have 2 comments ...
1) Text::iconv in perl is about 3 times slower than
Encode::decode/encode
2) greek can be encoded in 7bits plain GSM0338 instead of UCS-2 iff the
whole text is in caps and all some conversion is applied to it for some
characters ... Sending SMS's has a cost so why reduce the size to 70 when you
can have the full 160 chars with 7bit ... any how ... when it comes to concept
you are right ...
And yes we voted for Bulagria ... it was once of the best eurovision songs ...
:-)
Dimitris Evmorfopoulos
-----Original Message-----
From: seik [mailto:[EMAIL PROTECTED]
Sent: Friday, July 20, 2007 1:46 PM
To: Κωνσταντίνος Λιαδάκης
Cc: [email protected]
Subject: Re: CANT SEND GREEK CHARACTERS
in general,
try to encode from greek to ucs-2be
dont use mysql iconv functions, they are non reliable,
use perl Text::Iconv or php iconv() or whatever scripting/programming language
you are familiar with.
then hexencode the result, set data coding value to 2 and unset alt-dcs to -1.
thats it
i do that for Cyrilic cp1251 MT traffic
Cheers from Bulgaria, I still remember you guys voted for us in Eurovisia 2007
contest.
seik
-----Original Message-----
From: Κωνσταντίνος Λιαδάκης [EMAIL PROTECTED]
Sent: 19 ??? 2007 ?.
To: seik
Subject:CANT SEND GREEK CHARACTERS
> Hello,
>
> I am trying to send greek characters with kannel.
>
> I have tried using 1.4.1 and CVS version which I suppose they require
> different encodings...
>
> Can somebody help me clear things in my mind....
>
> I need to know the following if possible:
>
> 1. the encoding my webpage must have
> 2. what coding I need to set for kannel
> 3. If I need to put in kannel.conf any charset values (iso-8859-1, utf,
> e.t.c)
>
> I would like some answers of the above questions for both stable release and
> CVS
>
> I have read documentation, and have tried almost any combination. SMSC I use
> are both smpp and UCP/EMI
>
> Thank you very much in advance for your help
>
> Kind regards
>
> Dinos
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.10.9/907 - Release Date: 18/7/2007
> 3:30 μμ