Crosspaltform accented characters

Francois Van Lerberghe fvanlerberghe at freegates.be
Wed Nov 17 03:25:23 CST 2004


le 17/11/04 0:20, Leo Van den Brande <leo_van_den_brande at wxs.nl> a écrit :

> I have not tried ConvertEncoding yet.

I think it's the problem.
You must use it :

The native encoding in RB 5 is UTF8. Thus getting a string from an editfield
give you a string with an UTF8 encoding.
If you want to write it in your database, you must convert it in MacRoman if
you are on a MacOs and in WindowsLatin1 if you are on a Windows machine.

Reading your field from Valentina db, you must define the encoding as
MacRoman if you are on a MacOs and in WindowsLatin1 if you are on a Windows
machine.

François Van Lerberghe
Rue Thier Monty, 15 A
4570 Marchin
Belgique



More information about the Valentina mailing list