shabiel
2010-Aug-03 21:11 UTC
[Wine] Use a different character set for a specific program on wine
There is a feature in Windows where you tell it (in Regional and Language Settings in XP, e.g.) to use a specific encoding for non-Unicode programs. That's my issue. I am storing Arabic using cp1256/windows-1256 in a remote database. This is not Unicode; Arabic characters are stored in the 128-255 range of extended ASCII. The program (an electronic health records program) will display garbage by default if you don't set the encoding correctly in which to represent the data. If you set the encoding correctly, you see meaningful Arabic. What wine currently does is that it displays the data in ISO-8856-1 encoding (my best guess from what I am seeing). Here's the Question: How can you tell wine to use a specific character set for a non-Unicode enabled program? I searched online and on this website and couldn't find an answer. So I am posting here. Sam
vitamin
2010-Aug-04 13:58 UTC
[Wine] Re: Use a different character set for a specific program on wine
shabiel wrote:> Here's the Question: How can you tell wine to use a specific character set for a non-Unicode enabled program?You can't choose a specific encoding. What you can do is to set locale that uses your encoding. Ex: Code: LANG=en_US.UTF-8 wine winecfg Will set English locale and make Wine use cp1252 as default code-page.
Reasonably Related Threads
- special latin1 do not print as glyphs in current devel on windows
- Samba Internationalization
- special latin1 do not print as glyphs in current devel on windows
- changing names with different character sets
- special latin1 do not print as glyphs in current devel on windows