Dear all,
First of all: I am not directly using SMS Server Tools 3 in my programs. I am developing microcontrollers with customized programming languages, so I am coding everything myself. I am using the website to generate PDU's to compare my code with the correct PDU's generated from this website to verify my code. I hope it is OK that I post my question here even if I am not using your software.
I have a question regarding how to encode special country characters. I am currently using this website to calculate the string that are required for sending PDU messages. I've developed programs for encoding the complete PDU, and this is working without issues as long as I am using "normal" ASCII characters (20-7F). However, when I exceed 7F (from 80 and above) to show special characters for my country (Norway), e.g. æøå I get the wrong characters when encoding. I've searched the web a lot, and I can find a lot of tables which indicates how to properly replace a code with a new code to handle special characters.
However, what I am wondering is if it is possible to programmatically change the hex/binary code from the original æøå to the correct hex/binary code before I do the normal PDU encoding, without using a lookup table?
To explain a bit more in detail:
The Norwegian character "æ" has the original ASCII hex number "E6". However when I run my normal alogirthm for encoding to PDU this will not work as expected. I can see that the correct hex number before encoding should be "3A". I've tried finding out how to programmatically convert E6 to 3A but I cannot find any pattern. I do not want to use a lookup table because this would mean that I will have to implement lookup tables for different countries, that is why I am asking for the possibility to programmatically convert these characters.
Does anyone know if this is possible to do?
Thanks in advance.