Problem displaying characters above the normal ASCII Range
-
Hello, I am working with an on-screen keyboard that was designed from scratch using the Win32 API, and it designed to be used with 4 or 5 languages. The keyboard works absolutely perfectly except when attempting to display some of the special characters for the other forgein languages(characters above 0x7F on the ASCII table). When I attempt to print these characters using the WM_CHAR message, the following character ÿ always appears before it. For example: If I were to press the "A" key, the edit box above the keyboard display "A". However, if I press the "Ö" button on the onscreen keyboard, the edit box about the keyboard displays "ÿÖ". I am totally stumped and was hoping anyone could provide any insight into why this is happening. Thanks in advance, Joe
-
Hello, I am working with an on-screen keyboard that was designed from scratch using the Win32 API, and it designed to be used with 4 or 5 languages. The keyboard works absolutely perfectly except when attempting to display some of the special characters for the other forgein languages(characters above 0x7F on the ASCII table). When I attempt to print these characters using the WM_CHAR message, the following character ÿ always appears before it. For example: If I were to press the "A" key, the edit box above the keyboard display "A". However, if I press the "Ö" button on the onscreen keyboard, the edit box about the keyboard displays "ÿÖ". I am totally stumped and was hoping anyone could provide any insight into why this is happening. Thanks in advance, Joe
Post some relevant code, both where you send the WM_CHAR message and where you are recieving it. Are you doing UNICODE builds? ÿ is ascii 0xff, that should tell you something, but without seeing the code I can not tell you what.
You may be right
I may be crazy
-- Billy Joel --Within you lies the power for good, use it!!!
-
Post some relevant code, both where you send the WM_CHAR message and where you are recieving it. Are you doing UNICODE builds? ÿ is ascii 0xff, that should tell you something, but without seeing the code I can not tell you what.
You may be right
I may be crazy
-- Billy Joel --Within you lies the power for good, use it!!!
I will try to post some code tomorrow, however, the keyboard procedure is pretty large, so I will try to post some relevent pieces.