Ticket #15345 (closed defect: fixed)
dead keys troubles with wxRichTextCtrl on OS X
|Reported by:||noth||Owned by:||csomor|
|Keywords:||wxRichText OSX accent||Cc:||minorinoki@…, csomor@…, mk@…|
It seems that some character are not supported on OS X.
All characters needing 2 keys for being entered are partially displayed with the accent missing.
When exporting the rich text buffer, the contents doesn't seems to contain a valid UTF8 string.
Type the following string "aâeêoô" on a wxRichTextCtrl, OS X platform.
The Control shows : "aaeeoo"
On Windows, the same code would show "aâeêoô".
Typing the same string on a wxTextCtrl would show the original string on both platforms. When pressing the accent character , the accent is displayed in yellow. When pressing the target character (eg e), the accent is applied to it.
On the wxRichTextCtrl, pressing the accent show nothing, and pressing the target only show the target character.
I don't think it's a problem with me, wrongly dealing with unicode. The rest of by code is working well and this problem only happens when typing in a wxRichTextCtrl. My library is build using --with-unicode.
Thanks for your help !