Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Apps using legacy CRTs don’t work properly with certain regional settings


View products that this article applies to.

Summary

Some Apps using legacy C run-time libraries don’t work properly when the regional setting doesn’t support a codepage

↑ Back to the top


Background

In Windows 1809 when applications request the locale's codepage, there was change to return CP_UTF8 instead of CP_ACP as UTF-8 would encompass those locale's linguistic data. This change however breaks apps not using the codepage concept correctly - including some legacy CRTs.

To address this, we are reverting to the old behavior of returning CP_ACP instead of CP_UTF8.

↑ Back to the top


Workaround

  • Users can to temporarily change their Region to “English (United States)” in Settings->Region->RegionalFormat set to English”(United States)” (selecting any locate with codepage)
  • Ensure Checkbox “Beta: Use Unicode UTF8 for worldwide language support is not selected.

Start > Settings > Time & Language > “Date, time, & regional formatting” > “Additional date, time, & region settings” > Region > Administrative > Change system locale.

↑ Back to the top


Keywords: codepage, windows 10, version 1809

↑ Back to the top

Article Info
Article ID : 4490392
Revision : 3
Created on : 2/10/2019
Published on : 2/10/2019
Exists online : False
Views : 201