PRB: 16-bit Help Window Title Has Wrong CharacterLast reviewed: January 15, 1998Article ID: Q160089 |
3.10 | 3.10WINDOWS | WINDOWS NT kbprg kbprb The information in this article applies to:
SYMPTOMSWhen using HC31.exe to compile a Help project, the .hpj file is assumed to be using OEM character sets (MS-DOS code, page 850 or 437). If the title specified in the .hpj file contains characters with values higher than 127, and the .hpj file is modified using a Windows editor such as Notepad, those characters can appear to be wrong when the Help file is run.
CAUSEIn an .hpj file, under the [OPTIONS] section, the title is specified as:
"TITLE=Help Example that contains à"The "à" character was entered using Notepad, holding down the ALT key, and typing "0224" on the numeric keypad. When the Help file is run after being compiled using HC31.exe, you see that the Help window title reads:
"Help Example that contains Ó"This problem occurs because of the difference between the OEM code page (850) and the ANSI code page (1252). Value 224 is the character 'Ó' under code page 850, but it is the character 'à' under code page 1252. Because the .hpj file is assumed to be using code page 850, 'Ó' is put on the title when HC31 is processing the Help project.
RESOLUTIONIf your .hpj file contains characters with values higher than 127, use an MS-DOS editor, such as Edit, to write your .hpj file.
|
KBCategory: kbprg kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |