Home » Developing U++ » U++ Developers corner » Will UPP support full UNICODE (21bits long codepoint)?
Re: Will UPP support full UNICODE (21bits long codepoint)? [message #54574 is a reply to message #54573] |
Sat, 15 August 2020 14:07 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
Oblivion wrote on Sat, 15 August 2020 13:15Quote: But I am not at the moment sure whether combining characters are the only source of multi-codepoint graphemes.
Yeah, there are at least surrogate pairs (Since U++ use 16-bit wchar), ligatures and IIRC some hangul graphemes. Anything else that I miss?
Correct me when I am wrong:
I do not think surrogate pairs are the thing - those are just a way to encode codepoints.
Also ligatures are probably not a concern too, these can be considered characters of its own.
But hangul graphems is what worries me... Not that I have searched too much, but so far I have failed to find simple algo how to combine hangul characters...
Anyway, to explain my way of thinking: So far, in GUI, we have wchar == grapheme equivalency. That e.g. means that inside e.g. EditString, when user enters a character, it is simply inserted at cursor position in the text.
For full unicode, we will need to change 16bit wchars to graphemes. That means that "length" of text will now be number of graphemes, position of text the position of grapheme etc...
Of course, in later phase, we will need to deal with graphics too, but I think that might be relatively easy to changing all text edit routines. (To deal with graphics, Font::operator[](int chr) should probably change to something like Font::operator[](const char *grapheme)...)
Mirek
|
|
|
|
|
Will UPP support full UNICODE (21bits long codepoint)?
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Tue, 11 August 2020 17:22
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: Oblivion on Sat, 15 August 2020 01:02
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Sat, 15 August 2020 01:39
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: Oblivion on Sat, 15 August 2020 11:12
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Sat, 15 August 2020 11:33
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: Oblivion on Sat, 15 August 2020 12:15
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Sat, 15 August 2020 12:44
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: Oblivion on Sat, 15 August 2020 13:15
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Sat, 15 August 2020 14:07
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: Oblivion on Sat, 15 August 2020 15:11
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Mon, 17 August 2020 10:17
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Mon, 17 August 2020 11:01
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: Oblivion on Mon, 17 August 2020 11:50
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Mon, 17 August 2020 14:04
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: Oblivion on Mon, 17 August 2020 15:17
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Tue, 18 August 2020 16:55
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: deep on Thu, 20 August 2020 07:10
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Sat, 22 August 2020 18:01
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: Oblivion on Sat, 22 August 2020 19:29
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Sun, 23 August 2020 10:06
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: Oblivion on Sun, 23 August 2020 10:52
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Sun, 23 August 2020 13:15
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: mirek on Mon, 24 August 2020 11:31
|
|
|
Re: Will UPP support full UNICODE (21bits long codepoint)?
By: Oblivion on Sat, 15 August 2020 01:02
|
Goto Forum:
Current Time: Mon Apr 29 03:04:28 CEST 2024
Total time taken to generate the page: 0.05556 seconds
|