Home » Developing U++ » U++ Developers corner » JavaScriptCore
Re: JavaScriptCore [message #27962 is a reply to message #27828] |
Thu, 12 August 2010 09:55 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
I have investigated further the problem of ToUpper. After looking over the tables we have in U++, they have even better coverage than I thought. Those unit tests that failed must have been extremely thorough to have reported such a failure. So I figured that maybe not the limited coverage of the 2048 characters is the problem, rather maybe the table has some errors.
And indeed, there are some errors.
E.G. Character "ƀ", 384, "Latin Small Letter B with stroke" has a ToUpper in U++ of 384, the same character. This is clearly wrong. The correct upper value is "Ƀ", 579, "Latin Capital Letter B with stroke".
After some superficial testing, running the current ToUpper/ToLower on the whole 65536 range I have found 568/569 errors. This is really great news, seeing as the table only covers 2048 characters. This means that most of Unicode is case agnostic and we can get away with good support without using huge tables. Running it on only 2048 characters, I have found 50/43. I hope I used the correct testing method.
So if somebody can point me to the bit setup of uni__info, I could correct the values for the first 2048 characters. I can figure out most, but it would be better if I could get the real layout of that packed bitfield. If there are any free bits left, I have some data that I would like to store there, like if the character is punctuation, if it is Latin, etc.
|
|
|
|
|
JavaScriptCore
|
|
|
Re: JavaScriptCore
By: mirek on Sat, 10 July 2010 16:23
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
By: tojocky on Sun, 11 July 2010 00:05
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
By: tojocky on Sun, 11 July 2010 14:35
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
By: tojocky on Sun, 11 July 2010 20:32
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
By: tojocky on Thu, 15 July 2010 08:25
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
By: mirek on Sat, 17 July 2010 09:52
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
By: mirek on Sun, 18 July 2010 08:59
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
By: mirek on Thu, 05 August 2010 12:55
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
By: mirek on Fri, 13 August 2010 09:09
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
By: mirek on Fri, 13 August 2010 11:30
|
|
|
Re: JavaScriptCore
By: mirek on Fri, 13 August 2010 11:30
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
By: jeremy_c on Sat, 14 August 2010 21:19
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
|
|
Re: JavaScriptCore
|
Goto Forum:
Current Time: Tue May 14 22:23:26 CEST 2024
Total time taken to generate the page: 0.02409 seconds
|