-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Consider miniutf over boost::locale #309
Comments
Current case conversion support from #348 is lacking: |
https://bitbucket.org/alekseyt/nunicode might be a better alternative than miniutf since it implements the Unicode Special Casing. |
Cool, had not seen nunicode before. Landing here again because I noticed that V8 has what look like depedency-free UpperCase and LowerCase routines that might be worth comparing/(and extracting?): https://github.com/v8/v8/blob/master/src/unicode.h#L221-L236 |
Sounds like a pretty good idea to do that. Likely, this has implements the same uppercase/lowercase behavior as JavaScript does, so we'd have easy parity between WebGL and native on that front. |
appears blink/chromium has diff uppercase impl (not sure how it relates to v8): https://github.com/yoavweiss/Blink/blob/0e22e374087693ab579b336e0a639e13f637fed1/Source/wtf/text/StringImpl.cpp#L733-L771 |
@artemp thanks for pushing on nunicode route.
|
@springmeyer - re: blink upper/lower
|
Content based to_upper/lower text conversions : https://github.com/mapbox/mapbox-gl-native/tree/nunicode - but we need to wait for nunicode 1.5.x release to merge into master (ETA ~ 1 dec 2014) |
This is merged and we're using nunicode. |
miniutf looks like it got its start for the same reason we fell back to using
boost::locale
on linux (#270): because libstdc++ is still missing fullcodecvt_utf8 / codecvt_utf16
support.TODO:
The text was updated successfully, but these errors were encountered: