Hi,

I was reading gwlib/charset.c to understand how the Latin-1 to GSM 7bit
alphabet translation works. I found that :

        /* [ is an escaped < */
        /* \ is an escaped / */
        /* ] is an escaped > */
        /* ^ is an escaped Greek Lambda */

and :

/* This is the extension table defined in GSM 03.38.  It is the mapping
 * used for the character after a GSM 27 (Escape) character.  All characters
 * not in the table, as well as characters we can't represent, will map
 * to themselves.  We cannot represent the euro symbol, which is an escaped
 * 'e', so we left it out of this table. */
static const struct {
        int gsmesc;
        int latin1;
} gsm_escapes[] = {
        {  10, 12 }, /* ASCII page break */
        {  20, '^' },
        {  40, '{' },
        {  41, '}' },
...

I read GSM 03.38 and I didn't find anything about that extension table. What
I am sure is that my Nokia 7110 receive a "(" when sending "{". Is there any
portable which interprets "ESC-(" differently than my 7110 (ie "ESC-(" is
equivalent to "(") ?
If not, what is the interest of that translation which wastes 1 character
("{" is coded as "ESC-(" for ex.)

Thanks in advance for your help.                        Gildas.

Gildas.
---
Gildas PERROT, [EMAIL PROTECTED]
Fluxus, 30 rue du Château des Rentiers,          __o
75647 Paris Cedex 13  http://www.fluxus.net ---_`\<,_
Fluxus est une société BT Ignite.       ----- (_)/ (_)


Reply via email to