Dbase data with special characters

Hello All

When we try to get text from dBase files, if the dbase file has information in portuguese language (for example: "Disparo de Disjuntor de Proteção" that means Circuit Beaker Trip in English) the return text from the function:

Text = DevGetField(hDev, "Desc");

is:

It should Return "Disparo de Disjuntor de Proteção". How we can fix this?

Thank you

Parents
  • Might be a problem with the Windows region settings. The text string looks like it is a unicode string displayed as a non-unicode text.
    How did you enter the text in the dbf? Is it displaying correctly when you open the dbf in the official Citect Excel Add-In?
    I would not trust the old Save_Dbf macro or loading/saving from OpenOffice.
Reply
  • Might be a problem with the Windows region settings. The text string looks like it is a unicode string displayed as a non-unicode text.
    How did you enter the text in the dbf? Is it displaying correctly when you open the dbf in the official Citect Excel Add-In?
    I would not trust the old Save_Dbf macro or loading/saving from OpenOffice.
Children
No Data