How to convert full-width numbers to half-width numbers (225136)
The information in this article applies to:
- Microsoft Windows 98, when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q225136 SUMMARY
When converting the full-width Unicode numbers (U+FF10-U+FF19) to standard half-width numbers (U+0030-U+0039)while using WideCharToMultiByte, it fails to do
the conversion on Windows 95 and 98. One should use the API LCMapString with flag LCMAP_HALFWIDTH to convert the full-width characters to half-width
characters.REFERENCES
For more information about installing a code page, click the following article number to view the article in the Microsoft Knowledge Base:
164948
How to install a code page
Modification Type: | Major | Last Reviewed: | 12/28/2005 |
---|
Keywords: | kbDSXGlobal2003Swept kbDBCS kbhowto kbLocalization kbNLS kbUnicode KB225136 |
---|
|