Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] ucp charset / sending sms with umlauts to german D2 provider
Hi all,
i had problems sending sms messages containig umlauts to the german GSM
provider vodaphone (D2-Netz). on my cellphone the message recieves
without the umlauts, but in the log files all looks ok and the docs in
docq directory contains the umlauts as transmitted.
i looked at the charset translation part at pageSendApp.c++ and found
differences to the translation part i wrote three years ago on my old
Amiga computer. after changing pageSendApp.c++ to my old translation
the umlauts (i just test "äöüÄÖÜß") are recieved correct on my cellphone.
Did anyone successfull send umlauts to D2 ?
Are there different charsets used by differend UCP protocolls?
I have a diff attached.
By
--
-------------------------------------------------------------------------
Volker Weber Dietrichsweg 38a 26127 Oldenburg Germany
MAILTO:Volker AT weber-oldenburg.de HTTP://www.v-weber.de
902,913c902,913
< case 36: buf.put("02"); break;
< case 64: buf.put("00"); break;
< case 91: buf.put("3C28"); break;
< case 92: buf.put("2F2F"); break;
< case 93: buf.put("293E"); break;
< case 94: buf.put("3E"); break;
< case 95: buf.put("11"); break;
< case 96: buf.put("2C21"); break;
< case 123: buf.put("2821"); break;
< case 124: buf.put("2121"); break;
< case 125: buf.put("2129"); break;
< case 126: buf.put("213F"); break;
---
> case '$': buf.put("24"); break;
> case '@': buf.put("40"); break;
> case '[': buf.put("3C28"); break; //######
> case '\\': buf.put("2F2F"); break; //######
> case ']': buf.put("293E"); break; //######
> case '^': buf.put("3E"); break; //######
> case '_': buf.put("11"); break;
> case '`': buf.put("2C21"); break; //######
> case '{': buf.put("2821"); break;
> case '|': buf.put("2121"); break; //######
> case '}': buf.put("2129"); break; //######
> case '~': buf.put("213F"); break; //######
919c919
< case 165: buf.put("03"); break;
---
> case '¥': buf.put("03"); break;
921c921
< case 167: buf.put("5F"); break;
---
> case '§': buf.put("5E"); break;
946c946
< case 191: buf.put("60"); break;
---
> case '¿': buf.put("60"); break;
952,955c952,955
< case 196: buf.put("5B"); break;
< case 197: buf.put("0E"); break;
< case 198: buf.put("1C"); break;
< case 199: buf.put("09"); break;
---
> case 'Ä': buf.put("5B"); break;
> case 'Å': buf.put("0E"); break;
> case 'Æ': buf.put("1C"); break;
> case 'Ç': buf.put("09"); break;
957c957
< case 201: buf.put("1F"); break;
---
> case 'É': buf.put("1F"); break;
966c966
< case 209: buf.put("5D"); break;
---
> case 'Ñ': buf.put("5F"); break;
971c971
< case 214: buf.put("4F"); break;
---
> case 'Ö': buf.put("5C"); break;
973,974c973,974
< case 216: buf.put("0B"); break;
< case 217: buf.put("55"); break;
---
> case 'Ø': buf.put("0B"); break;
> case 'Ù': buf.put("06"); break;
977c977
< case 220: buf.put("55"); break;
---
> case 'Ü': buf.put("5D"); break;
980c980
< case 223: buf.put("1E"); break;
---
> case 'ß': buf.put("7E"); break;
982c982
< case 224: buf.put("7F"); break;
---
> case 'à': buf.put("7F"); break;
986,988c986,988
< case 228: buf.put("7B"); break;
< case 229: buf.put("0F"); break;
< case 230: buf.put("6165"); break;
---
> case 'ä': buf.put("7B"); break;
> case 'å': buf.put("0F"); break;
> case 'æ': buf.put("1D"); break;
990,991c990,991
< case 232: buf.put("04"); break;
< case 233: buf.put("05"); break;
---
> case 'è': buf.put("04"); break;
> case 'é': buf.put("05"); break;
994c994
< case 236: buf.put("07"); break;
---
> case 'ì': buf.put("07"); break;
1000,1001c1000,1001
< case 241: buf.put("7D"); break;
< case 242: buf.put("08"); break;
---
> case 'ñ': buf.put("1E"); break;
> case 'ò': buf.put("08"); break;
1005c1005
< case 246: buf.put("7C"); break;
---
> case 'ö': buf.put("7C"); break;
1011c1011
< case 252: buf.put("7E"); break;
---
> case 'ü': buf.put("7D"); break;