Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spanish anyone?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01144115
Message ID:
01144174
Views:
15
>Hi Tommy,
>
>> but looks fine as FoxFont.
>
>no, no, no... When will this font go away.
>
>FoxFont is a font in which characters are intentionally placed at the wrong position. If you have DOS formatted text (code page 437) and display it pretending that the text is ANSI (code page 1252), the text displays properly. FoxFont is a hack that only serves two purposes: It avoids code page conversions (which would have been a better solution) and it provides access to the DOS single and double lines characters in ANSI compatible Windows application.
>
>OK, back to your problem. If the text displays properly with FoxFont, it must be encoded with code page 437. To display the text properly with any other font, you need to convert it to code page 1252:
>
>? CPCONVERT(437,1252,"T¢mela lo antes posible.")
>
>If the text contains any characters that are available in the DOS code page, but not in the standard Windows code page, these characters are lost and will be replaced with characters that look similar.

I'll give it a shot, immediately! I'll let you know how it goes in a little while.

Thanks!
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform