Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » CJK support
CJK support [message #4861] |
Wed, 23 August 2006 17:03  |
|
luzr wrote on Wed, 23 August 2006 06:08 | P.S.: Looking at the image you posted
- looks like U++ is able to support chinesse in the end 
- you are using 605 version ("stable"). There are many improvements in current "dev" version, maybe you could try it in parallel.
Mirek
|
yes,as you have seen,display chinese is ok with setting:"SetDefaultCharset(CHARSET_UTF8);"
TheIDE do has some thing not compatible with Chinese,include file choser and following attatch:
-
Attachment: chn.PNG
(Size: 18.20KB, Downloaded 2118 times)
[Updated on: Wed, 23 August 2006 17:03] by Moderator Report message to a moderator
|
|
|
|
Re: Where can I store 32 bit data [message #4878 is a reply to message #4865] |
Thu, 24 August 2006 02:10   |
|
luzr wrote on Wed, 23 August 2006 13:52 | As for problems with chinesse glyphs in TheIDE - well, what is the situation with "monospace" fonts for glyphs?
TheIDE's LineEdit expecpects characters to be monospace and fit within monospace "cells".
Alternatively, perhaps you could post me some text in utf-8 chinesse and perhaps the font you are using for it. (I know nothing about chinesse and I do not in fact have any method how to try to enter chinesse glyphs in TheIDE 
Mirek
|
well,in SQLite3,the default encoding is also UTF8,so if we have Chinese in the opening file path,we will fall to open the database,it says:"can't find the database file".that is same for U++,normally we use GB3212 or GBK encoding(same). there some code shows how to pefer the converting.
btw:one Chinese charater need two byte space
|
|
|
|
|
|
|
|
Re: Where can I store 32 bit data [message #4918 is a reply to message #4905] |
Fri, 25 August 2006 05:34   |
|
luzr wrote on Thu, 24 August 2006 12:57 | I have found this info:
Quote: |
What Big5 encodes are particular graphical representations of characters or part of characters that happen to fit in the space taken by two monospaced ASCII characters.
|
Does it mean that "monospaced" glyphs in chinesse occupy two character cells?
That would be hell to implement in TheIDE Perhaps I will have to find some alternate method (smaller font for chinesse chars perhaps, to fit into cell).
Mirek
|
That's right,BIG5,GB2312,GBK,maybe Japanese and Korea are in the same situation.I don't think it's a hell,you know,stringEdit can display input Chinese correctlly,that means,U++ have the potential ability to deal with the East character. smaller font will make it look strange.
|
|
|
|
Re: Where can I store 32 bit data [message #4928 is a reply to message #4921] |
Fri, 25 August 2006 16:40   |
|
luzr wrote on Fri, 25 August 2006 02:43 |
Anyway, please send me some small UTF-8 encoded file with chinesse glyphs to play with...
Mirek
|
OK,I don't know if this right what you want,I copy some chinese character to notpad save as UTF-8.
|
|
|
|
|
|
Re: Where can I store 32 bit data [message #4970 is a reply to message #4969] |
Mon, 28 August 2006 16:55   |
|
luzr wrote on Mon, 28 August 2006 10:15 | Another interesting aspect - it looks like ideograms are in fact "monospaced" - is this observation correct? Or most of them?
That would be great as I could save a lot of memory for character width storage 
Mirek
|
yes,this is correct,for for CJK,using serveral bytes(normally 2)to index the ideograms,the ideograms is monospaced.such as 16*16 etc.
this is the comparation of English character and Chinese charater when set as "宋体" at same size.
-
Attachment: songti.PNG
(Size: 0.36KB, Downloaded 2960 times)
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 21:22:45 CEST 2025
Total time taken to generate the page: 0.00857 seconds
|