Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code page 65001
Message
From
07/07/2020 20:16:51
 
 
To
07/07/2020 13:23:28
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
01675122
Message ID:
01675123
Views:
92
>Hi,
>
>One FoxInCloud user reports running VFP under code page 65001, which is equivalent to UTF-8
>
>His Windows copy is in English.
>
>Does anyone know how this is possible?
>
>TIA

Well this seems to be good news ( though seems we're just gettig aware of it! ):

"In April 2018 with insider build 17035 (nominal build 17134) for Windows 10, a "Beta: Use Unicode UTF-8 for worldwide language support" checkbox appeared for setting the locale code page to UTF-8.[a] This allows for calling "narrow" functions, including fopen and SetWindowTextA, with UTF-8 strings. In May 2019 Microsoft added the ability for a program to set the code page to UTF-8 itself, and started recommending that all software do this and use UTF-8 exclusively.[1]"

Attached an image of the option in Region Settings.. will check it and see how it goes for VFP.



https://en.wikipedia.org/wiki/Unicode_in_Microsoft_Windows#cite_note-Microsoft-UTF-8-1
https://docs.microsoft.com/en-us/windows/uwp/design/globalizing/use-utf8-code-page
https://stackoverflow.com/questions/56419639/what-does-beta-use-unicode-utf-8-for-worldwide-language-support-actually-do
@nfoxdev
github.com/nfoxdev
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform