Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Codepage of Screen?
Message
From
09/10/2002 21:06:33
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
09/10/2002 14:25:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00709440
Message ID:
00709651
Views:
18
>Is there anyway to set the codepage for the screen display (not a form, dbf, etc), but the _screen itself? I want to test some different fonts that require a different codepage for code sent directly to the screen and not on a form.
>
>Also, any font out there that works just like foxfont only at 12-14cpi? Doubling foxfont is too large, but I need to use the foxfont in a larger size and it is only available up to 9. Any ideas? having foxfont from 12-14 would remove my requirement to set the codepage on the _screen above.

Depending on version of Windows, you may need to set a value in registry or just set your locale. VFP displays the characters in the OS codepage. My default codepage is 1250, and I'm seeing the specific characters on the _screen, no problem.

Under W2k it's quite simple - in control panel, regional options, select a locale with a codepage you need, and set it as default. It may require a reboot. Under XP, should be similar.

NT4, last time I tried it was similar to this, though maybe not under "regional options", probably under "input locale".

W95 and W98, it's in the registry, key is ACP=1252 that needs to be ACP={new codepage}. Since ACP (ANSI CodePage) is too short for search, I was usually finding it by looking for key OEMCP, which is next to it (that's actually DOS codepage, 437 default - does this mean the OEM's are still not informed there's Windows now and DOS is zombie?).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform