Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » 16 bits wchar
Re: 16 bits wchar [message #17248 is a reply to message #17245] |
Mon, 04 August 2008 17:14 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
cbpporter wrote on Mon, 04 August 2008 09:53 |
Using multiple code units per character doesn't disable the use of a text editor or any means of manipulating Unicode texts. It just needs a little bit smarter methods for some operations. I know that using only one word is convenient, but Unicode says that there are up to two words per codepoint and there is no other work around than using 32 bits, which is not a lot better, because not even with UTF32 there isn't a 1:1 relationship between character and display operation of that character. Nonwhitespaces, separators, control characters, combining characters and others must be filtered out, and the end result is the same as if you would use 16 bit chars (where the same operations must be done and I don't think they are done right now).
|
Well, this rather sound like we should kick out WString altogether and keep just UTF-8:)
Quote: |
This way there is no need for WString actually, except the fact that it helps as an optimization because Win32 uses it. In the end, we will probably need a full text layout engine, breaking text in multiple segments, and drawing them one by one to support composition, multichar composition, RTL.
|
Ah, right
OTOH, on logical level, I still see characters on the screen. And those characters should be edited on per-character basis.
Maybe we just need smarter encoding than UNICODE?
Makes me think - realistically, there is a lot of "reserved" positions in BMP. Could we just use them for this?
Mirek
|
|
|
|
|
16 bits wchar
By: riri on Mon, 05 February 2007 17:19
|
|
|
Re: 16 bits wchar
By: mirek on Mon, 05 February 2007 23:07
|
|
|
Re: 16 bits wchar
By: cbpporter on Tue, 25 September 2007 22:03
|
|
|
Re: 16 bits wchar
By: mirek on Tue, 25 September 2007 23:18
|
|
|
Re: 16 bits wchar
By: cbpporter on Wed, 26 September 2007 07:43
|
|
|
Re: 16 bits wchar
By: mirek on Wed, 26 September 2007 08:48
|
|
|
Re: 16 bits wchar
By: sergei on Wed, 26 September 2007 14:55
|
|
|
Re: 16 bits wchar
By: cbpporter on Wed, 26 September 2007 15:37
|
|
|
Re: 16 bits wchar
By: mirek on Wed, 26 September 2007 22:40
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Mon, 01 October 2007 14:28
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Wed, 03 October 2007 10:11
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Wed, 03 October 2007 10:42
|
|
|
Re: 16 bits wchar
By: mirek on Wed, 03 October 2007 10:26
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Wed, 03 October 2007 12:10
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Wed, 03 October 2007 21:40
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Thu, 04 October 2007 17:33
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Fri, 12 October 2007 11:52
|
|
|
Re: 16 bits wchar
By: mirek on Fri, 12 October 2007 11:59
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Fri, 12 October 2007 17:03
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Sun, 21 October 2007 20:19
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Sun, 21 October 2007 23:57
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Mon, 22 October 2007 10:47
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Mon, 22 October 2007 19:37
|
|
|
Re: 16 bits wchar
By: mirek on Sun, 21 October 2007 20:14
|
|
|
Re: 16 bits wchar
By: sergei on Wed, 26 September 2007 01:56
|
|
|
Re: 16 bits wchar
By: sergei on Wed, 26 September 2007 16:54
|
|
|
Re: 16 bits wchar
By: cbpporter on Wed, 26 September 2007 19:11
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Wed, 24 October 2007 13:27
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Sat, 27 October 2007 11:11
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Fri, 09 November 2007 10:39
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Sun, 11 November 2007 18:45
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Wed, 23 July 2008 22:04
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Mon, 04 August 2008 15:07
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Mon, 04 August 2008 17:14
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Tue, 05 August 2008 00:03
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Tue, 05 August 2008 00:14
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Tue, 05 August 2008 00:20
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Tue, 05 August 2008 00:26
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Tue, 05 August 2008 00:51
|
|
|
Re: 16 bits wchar
By: mirek on Tue, 05 August 2008 10:42
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Tue, 05 August 2008 15:12
|
|
|
Re: 16 bits wchar
By: mirek on Tue, 05 August 2008 15:19
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Thu, 07 August 2008 16:10
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Thu, 07 August 2008 17:40
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Thu, 07 August 2008 20:01
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Fri, 08 August 2008 15:32
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: mirek on Fri, 08 August 2008 18:25
|
|
|
Re: 16 bits wchar
|
|
|
Re: 16 bits wchar
By: cbpporter on Fri, 05 September 2008 19:13
|
|
|
Re: 16 bits wchar
By: mirek on Sun, 07 September 2008 13:24
|
|
|
Re: 16 bits wchar
By: mirek on Mon, 04 August 2008 15:03
|
|
|
Re: 16 bits wchar
By: mirek on Sat, 27 October 2007 11:01
|
Goto Forum:
Current Time: Sun Jun 02 16:20:00 CEST 2024
Total time taken to generate the page: 0.01969 seconds
|