gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: German "Umlaute" in and SMSD ( Ungültiges ode r unvollständiges Mu


From: Daniele Forsi
Subject: Re: German "Umlaute" in and SMSD ( Ungültiges ode r unvollständiges Multi-Byte- oder Wide-Zeichen)
Date: Sat, 24 Mar 2012 18:14:21 +0100

2012/3/24 Axel Gruber:

> I have changed the locales on debian using " dpkg-reconfigure locales" to
>  LANG="de_DE"

I would expect it to be de_DE.UTF-8, however libgnokii will use
whatever encoding you set (if it is supported by your system) and
convert SMS accordingly
the easy rule is that what you pass to gnokii or smsd must match the
LANG variable

> Now i can send a sms using smsd or gnokii --sendsms with "umlaute" without
> getting an error message.
> And alle Messages i get on the console - i see "Umlaute" correct.
>
> The only Problem is: the "umlaute" will replaced with other characters

I don't understand where the umlaute are correct and where are
replaced with question marks

> So if i send a sms with "ä" i geht "??".

it looks like if gnokii is printing UTF-8 and your terminal is set
with a different encoding (ISO-8859-15 or similar)
redirect the SMS to a disk and use the file command, eg.:
gnokii --getsms SM 1 >mysms
file mysms

also you can try to send a text stored in a file and that you
confirmed to be in the expected encoding

maybe you need to change Putty settings to see the umlaute in the
terminal, but this shouldn't affect smsd, however if you're running
smsd from a system shell the LANG variable is not necessarily set

> Is it usefull to switch to debug mode ?

if everything else fails, yes, you may send it to me privately as it
may contain your phone  number
-- 
Daniele Forsi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]