Page 1 of 1
From DBF database Report in XML document , Unicode: UTF 8
Posted: Mon Dec 26, 2005 7:17 pm
by Vlado
Anybody could give an example to solve the following problem:
From DBF database Report in XML document , Unicode:UTF 8.
Data in DBF are in ANSI and OEM.
Thanks
Vlado
Posted: Mon Dec 26, 2005 8:44 pm
by Antonio Linares
Vlado,
Juest a guess: you may need to convert all your fields values to Oem using AnsiToOem() or to Ansi using OemToAnsi().
Posted: Tue Dec 27, 2005 7:35 am
by Vlado
Antonio,
Jes, I same think about that.
1. Transform to ANSI.
2. From ANSI to Unicode UTF-8
Functions: ANSItoUnicode('UTF-8')
There are Functions AnsiToWide(cAnsi) -> cUnicode
WideToAnsi(cUnicode) -> cAnsi
I have UnicodeCharacterDatabase from
www.unicode.org.
3. Generating XML document.
ASCI file with XML tags with xsd:schema.
Posted: Tue Dec 27, 2005 8:53 am
by Antonio Linares
FWH provides AnsiToWide( cAnsi ) --> cWide and WideToAnsi( cWide ) --> cAnsi functions.