Hello!
I can't insert UTF8 text in MySQL 5.0 database. All inserted Russians or Latvians symbols are ? in database.
I set CodePage=utf8 in ZConnection1.Properties but it don't help me.
But I can read utf8 information from database normally.
Can you help me?
Sorry for my English.
Problems with UTF8 in ZeosLib 6.5.1
Moderators: gto, cipto_kh, EgonHugeist
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Hi,
Can you tell us exactly what version you are using? Is it the old 6.5.1 alpha version or the new 6.6.0-beta? Just to make sure what we're talking about as your topic title suggests a possibly old version.
Unfortunately I can't help you myself as I never used charactersets/encodings and the like.
Mark
Can you tell us exactly what version you are using? Is it the old 6.5.1 alpha version or the new 6.6.0-beta? Just to make sure what we're talking about as your topic title suggests a possibly old version.
Unfortunately I can't help you myself as I never used charactersets/encodings and the like.
Mark
-
- Fresh Boarder
- Posts: 4
- Joined: 28.02.2007, 20:22
I have the same problem with 6.6.1 version and CodePage=utf8.
Where do you put UTF8Encode / UTF8Decode functions?
If I try WideShowMessage(UTF8Decode(TntDbEdit1.Text)) it works, but i want populate ZTable and ZQuery with corrects values and also write to MySQL utf8 fields!
Perhaps ZeosDevTeam can provide a new ZConnection.Properties regarding this conversion support that IMO is often necessary.
Where do you put UTF8Encode / UTF8Decode functions?
If I try WideShowMessage(UTF8Decode(TntDbEdit1.Text)) it works, but i want populate ZTable and ZQuery with corrects values and also write to MySQL utf8 fields!
Perhaps ZeosDevTeam can provide a new ZConnection.Properties regarding this conversion support that IMO is often necessary.