Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code page 65001
Message
De
07/07/2020 20:16:51
 
 
À
07/07/2020 13:23:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
01675122
Message ID:
01675123
Vues:
90
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform