Hello, everyone! There is a line in opensmppbox.c:
if(0 == octstr_recode (octstr_imm("iso-8859-1"), octstr_imm("UTF-16BE"), text)) But if we look into octstr_recode function in /gwlib/octstr.c, we see that it is comparing the "from" and "to" parameters with UTF-8. But we are not sending UTF-8 parameters, so the result is - first doing UTF-16BE -> UTF-8 conversion, then UTF-8 -> ISO-8859-1 conversion :) And another big question is why a UCS-2 -> ISO8859-1 recoding is needed at all? It could be successful only with pure latin characters - in all the other cases it would generate garbage. I think UCS-2 should be converted to UTF-8. -- Sincerely yours, Aurel Branzeanu, mailto: branzeanu.au...@gmail.com Skype: tvorogov GSM Orange: +373 6 940-7700 GSM Moldcell: +373 7 940-7700