sqlite utf-8 strings

Forum related to SQLite

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
geran
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 13.09.2005, 10:33

sqlite utf-8 strings

Post by geran »

Hi,

please confirm that your Zeos library for sqlite 3 saves text correctly in database as utf-8.
I am asking this because I found to another forum that SQLAdmin from http://sqliteadmin.orbmu2k.de uses the Delphi ZeosLib which incorrectly stores strings encoded as the current ANSI code page instead of UTF-8.

The url is
http://sqlite.phxsoftware.com/forums/thread/1530.aspx

P.S.
I am developer who develops application both in Windows/WinCE/PocketPC. So, I am using your sqlite library for windows application and from phxsoftware for WinCE/PocketPC.
aducom
Zeos Dev Team
Zeos Dev Team
Posts: 67
Joined: 30.08.2005, 13:21

Post by aducom »

I cannot confirm that, you might want to convert before inserting?
geran
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 13.09.2005, 10:33

Post by geran »

Hi,

could you be more detailed?
What do you mean by saying "convert before inserting"?
Could you give me some hint/example?
aducom
Zeos Dev Team
Zeos Dev Team
Posts: 67
Joined: 30.08.2005, 13:21

Post by aducom »

There are in Delphi UTF8 conversion routines you might use. If you don't need to be database independent you might want to try one of the SQLite-only wrappers as can be found on www.sqlite.org.
Post Reply