Posted 18 years ago
by Wielage Dirk
Hi
I am trying to load ASCII (8 Bit/Central European code page) files into the SyntaxEditor! In a first look Everything works fine. I load the File via LoadFile Method using the ASCII Encoding! But if the Files Contains Characters like “ü” “ä” “ö” etc. a “?” is displayed instead of the character.
Is there no way to display characters from 0x80 to 0xFF correctly when its loaded from an not unicode encoded file?
In normal windows convertion methos the ? is a sign for an unicode character that is not convertable to the currently used ASCII Code page.
Why does this happen. The machine is running in the central european code page. So normally it should work.
So what must I do to edit these Files in the SyntaxEditor
Dirk
[Modified at 05/05/2006 03:49 AM]
[Modified at 05/05/2006 03:59 AM]
I am trying to load ASCII (8 Bit/Central European code page) files into the SyntaxEditor! In a first look Everything works fine. I load the File via LoadFile Method using the ASCII Encoding! But if the Files Contains Characters like “ü” “ä” “ö” etc. a “?” is displayed instead of the character.
Is there no way to display characters from 0x80 to 0xFF correctly when its loaded from an not unicode encoded file?
In normal windows convertion methos the ? is a sign for an unicode character that is not convertable to the currently used ASCII Code page.
Why does this happen. The machine is running in the central european code page. So normally it should work.
So what must I do to edit these Files in the SyntaxEditor
Dirk
[Modified at 05/05/2006 03:49 AM]
[Modified at 05/05/2006 03:59 AM]