Hi Pekka,
On 09/03/2010 09:40 AM, Pekka Pessi wrote:
Morjes Aki,
2010/9/2 Aki Niemi <aki.niemi(a)nokia.com>:
> + case SMS_ALPHABET_TURKISH:
> + gsm_encoded = convert_utf8_to_gsm_with_lang(utf8, -1, NULL,
> + &written, 0,
> + GSM_DIALECT_TURKISH,
> + GSM_DIALECT_TURKISH);
If you look at the tables, the idea is normally to use either locking
Turkish and default single, or default locking and Turkish single
shift, never both.
The spec also says: "however it is possible to use both single shift and
locking shift with the corresponding tables in a single message."
So how exactly do we know which combination to try? Is it language
dependent?
Also, if it is possible to fit the message to one segment only using
national single shift table, single shift should be used (if receiver
does not support national variants, the result is much less garbled).
So what you're saying is that we should try these three combinations:
default locking, default single shift
default locking, language single shift
language locking shift, language single shift
Trying language locking, default single shift does not seem useful.
Regards,
-Denis