Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set charset to utf-8
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01035368
Message ID:
01035601
Views:
18
Hi,

>How can set font charset to utf-8

Depends on where you want to set the charset. If you are talking about a VFP textbox or report control, this is not possible. VFP internally operates in ANSI mode, that is, it uses a codepage of 256 characters. Every character is mapped into of characters into the current codepage. FontCharset allows you to pick a different 256 byte codepage. There are a few exception with double-byte character sets, but those are not unicode.

UTF-8 is a unicode format that cannot be displayed using native controls. To display UTF-8 content, you can use the webbrowser control. Rick Strahl has several articles on this topic (http://www.west-wind.com/)
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform