Warning message when you build a Windows Embedded CE 6.0-based device project for the ARMv4 platform: "Warning C4819: The file contains a character that cannot be represented in the current code page (x)"

You use Visual C++ 2005 to develop a Windows Embedded CE 6.0-based device project for the ARMv4 platform. When you build the project, you receive the following warning message in the Output window:
Warning C4819: The file contains a character that cannot be represented in the current code page (x). Save the file in Unicode format to prevent data loss.
After the compilation, data loss occurs on the source files of the project.

This problem occurs when the following conditions are true:
  • A source file of the project contains multibyte-character set (MBCS) characters.
  • The language of the system locale of the developing environment and the language of the MBCS characters are the same.
  • This problem does not occur if you use Visual C++ 2005 Service Pack 1 (SP1) or Visual C++ 2008.
  • The x placeholder in the warning message is a placeholder for the code page.The MBCS characters belong to this code page.
This problem occurs because the ARMv4 compiler that is provided by Windows Embedded CE 6.0 incorrectly recognizes the MBCS characters.

Software update information

A supported software update is now available from Microsoft as Windows CE 6.0 Platform Builder Monthly Update (November 2009). You can confirm this by scrolling to the "File information" section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:
Product version-yymmdd-kbnnnnnn-processor type
For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:
837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products


This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean, and then click Build Platform.
  • On the Build menu, click Rebuild Platform.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File nameFile sizeDateTimePath
Windows embedded ce 6.0_update_kb950561.htm6,39404-Dec-200919:27091130_kb950561
C1.dll640,03225-Mar- 200818:59Sdk\Bin\I386\X86
C1ast.dll787,48825-Mar-200818:59Sdk\Bin \I386\X86
C1xx.dll2,294,81625-Mar-200818:59Sdk\Bin \I386\X86
C1xxast.dll2,507,80825-Mar-200818:59Sdk\Bin \I386\X86
C2.dll2,274,33625-Mar-200818:59Sdk\Bin \I386\X86
Cl.exe119,84025-Mar-200818:59Sdk\Bin \I386\X86
Clui.dll398,36825-Mar-200818:59Sdk\Bin \I386\X86\1033
C1.dll533,53625-Mar-200818:59Sdk\Bin \I386\Sh
C1ast.dll693,28025-Mar-200818:59Sdk\Bin \I386\Sh
C1xx.dll2,147,36025-Mar-200818:59Sdk\Bin \I386\Sh
C1xxast.dll2,405,40825-Mar-200818:59Sdk\Bin \I386\Sh
C1.dll537,63225-Mar-200818:59Sdk\Bin \I386\Mips
C1ast.dll705,56825-Mar-200818:59Sdk\Bin \I386\Mips
C1xx.dll2,155,55225-Mar-200818:59Sdk\Bin \I386\Mips
C1xxast.dll2,409,50425-Mar-200818:59Sdk\Bin \I386\Mips
C1.dll537,63225-Mar-200818:59Sdk\Bin \I386\Arm
C1ast.dll709,66425-Mar-200818:59Sdk\Bin \I386\Arm
C1xx.dll2,155,55225-Mar-200818:59Sdk\Bin \I386\Arm
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Article ID: 950561 - Last Review: 01/22/2010 09:06:38 - Revision: 1.0

Windows Embedded CE 6.0

  • kbfix kbexpertiseadvanced kbsurveynew kbqfe KB950561