Project

General

Profile

Bug #114

A Swedish developer found out that extended characters got mangled up

Added by Wil van Antwerpen over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
08/07/2018
Due date:
% Done:

0%


Description

Just got a report that "åäö" aka extended characters doesn't work any more after changing the code to the Scintilla editor.

Testing with that didn't show the problem for me (Wil). Nils send me a file to test with and I was able to reproduce.
After removing the ToANSI code in CM_Open and removing the ToOEM in WriteBlock there's still issues.
For one it does not display the characters correct.

However after hardwiring the characterset as OEM in cScintillaEdit.pkg procedure SetAdjustment this does work OK on my end.

This also relates to:
http://projects.vdf-guidance.com/issues/31

History

#1 Updated by Wil van Antwerpen over 4 years ago

  • Status changed from New to In Progress

The Scintilla editor has code in cSciLexer method CM_Open to change all the text into ANSI and then on save it uses ToOEM in WriteBlock.
This somehow caused the text to get mangled.

Removing the ToAnsi/ToOEM translations fixed that, but now the text didn't get presented correctly.

By hardwiring the scintilla editor to an OEM characterset that part is resolved as well.
At least for Swedish local characters.

#2 Updated by Wil van Antwerpen over 4 years ago

  • Status changed from In Progress to Resolved

No more reports on this after our fix.

#3 Updated by Wil van Antwerpen over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF