Change character codepage to CP850

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
arturomunive
Newbie
Newbie
Posts: 1
Joined: Fri Jun 07, 2013 6:23 pm

Change character codepage to CP850

Post by arturomunive »

before all, sorry by my english, tarzan style.

I have a legacy app in windows, based in clipper and dbf. runs ok in winXP and win7 , this app shows characters in chcp850 (for drawin tables) when i run this app in wine... seems to use cp1252 and show me Ä character for the character thath draws a horizontal line of a table.

I think , change character codepage will resolve my problem... but i don't know how do that.
I search the forum... but nothing works...

Then... how change the chcp to cp850 for a app in wine?
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Change character codepage to CP850

Post by lahmbi5678 »

You would use something like "LC_ALL=en_US.cp850 wine yourapp.exe", assuming that you are using US English (en_US). This requires that your system is supporting that codepage. "locale -a" shows the supported locales. If cp850 (or ibm-850) isn't supported, google for how to setup locales under your linux.
Locked