[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unicode, writephonebook & Nokia 6111
From: |
Fredrik Ståhl |
Subject: |
Unicode, writephonebook & Nokia 6111 |
Date: |
Sat, 11 Feb 2006 21:54:14 +0100 |
Hi,
I have a problem with Unicode characters, writephonebook and Nokia 6111.
getphonebook works:
$ gnokii --getphonebook ME 5 -v GNOKII Version 0.6.10
BEGIN:VCARD
VERSION:3.0
FN:Carlberg Torbjörn
TEL;VOICE:XXXXXXXXX
X_GSM_STORE_AT:ME5
X_GSM_CALLERGROUP:0
END:VCARD
But writephonebook fails with the same data:
$ gnokii --getphonebook ME 5 -v > test.vcf
GNOKII Version 0.6.10
$ gnokii --writephonebook --memory ME --vcard --overwrite < test.vcf
GNOKII Version 0.6.10
Write FAILED (Unknown error - well better than nothing!!): memory type:
Internal memory, loc: 5, name: Carlberg Torbjörn , number: XXXXXXXXX
Data format is not valid.
Recoding to latin1 sort of works; writephonebook is successful but the
characters are wrong since the Nokia 6111 uses unicode.
Here's my locale setting:
$ locale
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=sv_SE.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=sv_SE.UTF-8
LC_NAME=sv_SE.UTF-8
LC_ADDRESS=sv_SE.UTF-8
LC_TELEPHONE=sv_SE.UTF-8
LC_MEASUREMENT=sv_SE.UTF-8
LC_IDENTIFICATION=sv_SE.UTF-8
LC_ALL=
Cheers,
/Fredrik Ståhl, Sweden
- Unicode, writephonebook & Nokia 6111,
Fredrik Ståhl <=