We tend to use a translation table in this format :

; encoding=UTF-8
0000,                              ,0040 ; NULL
0001,                              ,00A3 ; START OF HEADING
0002,                              ,0024 ; START OF TEXT
0003,                              ,00A5 ; END OF TEXT
0004,                              ,00E8 ; END OF TRANSMISSION
0005,                              ,00E9 ; ENQUIRY
0006,                              ,00F9 ; ACKNOWLEDGE
0007,                              ,00EC ; BELL
0008,                              ,00F2 ; BACKSPACE
0009,                              ,00C7 ; HORIZONTAL TABULATION
000A,0A                            ,000A ; LINE FEED
000B,                              ,00D8 ; VERTICAL TABULATION
000C,1B/0A                         ,00F8 ; FORM FEED
000D,0D                            ,000D ; CARRIAGE RETURN
000E,                              ,00C5 ; SHIFT OUT
000F,                              ,00E5 ; SHIFT IN
0010,                              ,0394 ; DATA LINK ESCAPE
...
....
...
0393,13                            ,     ; 'Γ' GREEK CAPITAL LETTER GAMMA
0394,10                            ,     ; 'Δ' GREEK CAPITAL LETTER DELTA
0398,19                            ,     ; 'Θ' GREEK CAPITAL LETTER THETA
039B,14                            ,     ; 'Λ' GREEK CAPITAL LETTER LAMDA
039E,1A                            ,     ; 'Ξ' GREEK CAPITAL LETTER XI
03A0,16                            ,     ; 'Π' GREEK CAPITAL LETTER PI
03A3,18                            ,     ; 'Σ' GREEK CAPITAL LETTER SIGMA
03A6,12                            ,     ; 'Φ' GREEK CAPITAL LETTER PHI
03A8,17                            ,     ; 'Ψ' GREEK CAPITAL LETTER PSI
03A9,15                            ,     ; 'Ω' GREEK CAPITAL LETTER OMEGA
20AC,1B/65                         ,     ; '�' EURO SIGN
0391,41                            ,     ; 'A' Greek Alpha
0392,42                            ,     ; 'B' Greek Beta
0395,45                            ,     ; 'E' Greek E
0396,5A                            ,     ; 'Z' Greek Z
0397,48                            ,     ; 'H' Greek H
0399,49                            ,     ; 'I' Greek I
039A,4B                            ,     ; 'K' Greek K
039C,4D                            ,     ; 'M' Greek M
039D,4E                            ,     ; 'N' Greek N
039F,4F                            ,     ; 'O' Greek O
03A1,50                            ,     ; 'P' Greek P
03A4,54                            ,     ; 'T' Greek T
03A5,59                            ,     ; 'Y' Greek Y
03A7,58                            ,     ; 'X' Greek X




On Jan 16, 2008 11:03 AM, Davor Spasoski <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi Peter,
>
>
>
> What encoding and charset (%c and %C escape codes) is this message
> containing the section character (§)? I guess you are sending this character
> from a handset using the default GSM alphabet. This character's hex code is
> 0x5f and your terminal/database is probably using ASCII or UTF to interpret
> it into something else. In ASCII it would be interpreted as underscore "_".
>
> You will need to write a script that will translate the GSM characters into
> UTF-8 before presenting it on screen, as browsers and text editors usually
> do not support GSM encoding.
>
>
>
> BR,
>
>
> Davor Spasoski
>
>
>  ________________________________
>
>
> From: Otandeka Simon Peter [mailto:[EMAIL PROTECTED]
>  Sent: Tuesday, January 15, 2008 5:10 PM
>  To: [email protected]
>  Subject: Handling characters
>
>
>
>
>
>
> Hello All,
>
>
>
>
>
> I am getting a message with "§" character and am failing to interprete it.
> Can kannel handle such characters and if so how??
>
>
>
>
>
> Do I need to change anything in conf.
>
>
>
>
>
> Regards
>
>
> Peter COSMOFON - Mobile Telecommunications Services - A.D. Skopje
> _______________________________________________________________
> This e-mail (including any attachments) is confidential and may be protected
> by legal privilege. If you are not the intended recipient, you should not
> copy it, re-transmit it, use it or disclose its contents, but should return
> it to the sender immediately and delete your copy from your system. Any
> unauthorized use or dissemination of this message in whole or in part is
> strictly prohibited. Please note that e-mails are susceptible to change.
> COSMOFON A.D. Skopje shall not be liable for the improper or incomplete
> transmission of the information contained in this communication nor for any
> delay in its receipt or damage to your system.

Reply via email to