Post by KennethIs there a way that I can write a TXT file from Paradox that
is UTF-8?
I posted this recently on the Corel newsgroups. Don't take this as
definative; I Am Not An Expert.
Paradox is not UTF-8 compliant, and will never be. Paradox stores
characters in tables using whatever system is set up on your computer. This
is called the "OEM character set" in Paradox help.
The character set named Latin-1, and also named ISO 8859-1, is EXACTLY THE
SAME as UTF-8's FIRST 255 CHARACTERS -- not just the glyphs, but the actual
codes underneath. This means that you can set up your computer to Latin-1,
and Paradox will store UTF-8 compliant characters in its tables.
You have to do this as a separate step, as your computer does NOT come set
up to use the Latin-1 characters. In the US, it comes set up to use
Windows-1252, a superset of Latin-1. This means that Paradox could store
some characters (most notably the Euro sign and the em-dash) that are
missing from Latin-1, and therefore defined incorrectly for UTF-8.
If you are in the Czech Republic or other Eastern European countries, your
computer might be set up to use Latin-2 instead of Latin-1. This means that
every character above chr(126) will be defined incorrectly for UTF-8.
Finally, when you create a Paradox table, you need to install a language
driver that can use the characters above chr(126).
If you set up your computer to use Latin-1, then set up your Paradox tables
with an Eastern Europe language driver, Paradox will store your characters
in the nearest equivalent it can find in the Latin-1 character set. [In
other words, it will translate your Latin-2 glyphs into UTF-8.] At
least, I /think/ this is what the help said. I haven't tried it myself.
Jim Hargan