[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kabc api: encoding problems
From:       Lukáš Tinkl <lukas () kde ! org>
Date:       2002-11-23 18:09:55
[Download RAW message or body]

Dne pá 22. listopadu 2002 23:23 stanly klyuhin napsal(a):
> hi,
>
> what encoding should i use when passing strings to kabc api? i'm trying
> to create a contact, and pass strings with encoding same as my current
> locale (koi8-r). when i open kaddressbook, i see some stupid s%$t
> instead of russian letters.
> if i create a contact in kaddressbook, and then read it through kabc
> api, the russian letters shows ok...
> am i doing something wrong?
>
> cu,
> crz

You have to pass them in UTF-8, not in your local encoding.

-- 
Lukáš Tinkl (lukas@kde.org, lukas.tinkl@suse.cz)
KDE developer | SuSE Labs
http://czechia.kde.org



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic