Crosspaltform accented characters
Charles Yeomans
yeomans at desuetude.com
Wed Nov 17 12:01:44 CST 2004
On Nov 16, 2004, at 9:25 PM, Francois Van Lerberghe wrote:
> 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.
>
I've found that Encodings.SystemDefault works.
Charles Yeomans
More information about the Valentina
mailing list