U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » CJK (chinesse / japanesse / korean) improvements
CJK (chinesse / japanesse / korean) improvements [message #4982] Tue, 29 August 2006 12:10 Go to previous message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
Fruitfull discussion with hongdong led to these improvements:

* U++ is now able to read multibyte (CJK) encoded filesystem (e.g. FileSelector now should correctly display chinesse filenames).

* LineEdit (and therefore TheIDE) now displays CJK ideographs in double width

* FontInfo is now optimized not to waste space storing ideograph widths, as ideographs seem to be monospaced (however, it is tested so this optimization is performed only if they really are monospaced).

* New IsCJKIdeograph function returns true if unicode character is cjk ideograph

I am not 100% sure if my range is correct, I have defined it as

inline bool IsCJKIdeograph(int c) { return c >= 0x2e80 && c <= 0xdfaf || c >= 0xf900 && c <= 0xfaff; }

Anyway, for current practical purposes (LineEdit) it should be OK.

Mirek

P.S.: What about chinesse translation? Smile

[Updated on: Tue, 29 August 2006 12:13]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Next round of painting routine tuning...
Next Topic: TheIDE now has switching of GUI styles (in Environtment../IDE).
Goto Forum:
  


Current Time: Sat Apr 25 17:13:04 GMT+2 2026

Total time taken to generate the page: 0.00646 seconds