Wrong width for wide unicode characters outside BMP

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 2
Joined: Fri Jul 24, 2009 6:53 am

Wrong width for wide unicode characters outside BMP

Post by yindian »

First, thanks for providing such a nice notepad replacement. I really like it.

However, it seems to me that AkelPad could not deal with `wide' Unicode characters (whose codepoint is greater than 0xFFFF, i.e. outside the BMP) correctly. Every wide Unicode character, although displayed correctly, occupies the space of two normal character when moving the cursor, and the cursor position is twice the width of the displayed characters, with considerable blank between the cursor and the last character displayed.

I doubt it is because of something concerned with surrogate pair. Could someone look into this issue?

Thanks a lot.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

Combined and surrogate unicode symbols are not supported. They can be correctly drawn, but the program works with them as with separate symbols.

Offline
Posts: 2
Joined: Fri Jul 24, 2009 6:53 am

Post by yindian »

Thanks for your reply. In that case, will the surrogate Unicode symbols be supported in future releases? I'd like to use AkelPad to deal with some documents with CJK Ext-B characters.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

See 4.2.6 release.
Post Reply