-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unexpected lowercase(Char) result #7847
Comments
Looks like it is Windows only:
|
msvcrt.dll's According to http://msdn.microsoft.com/en-us/library/8h19t214.aspx, it only works for ascii. |
I do get the right answer if I use
I don't think that exists in Windows XP. |
utf8proc does not expose Unicode letter casings data except for a casefolding function (for case-insensitive string comparisons). Case mappings cannot be defined uniquely without a locale. The canonical example is small 'i', whose upper-cased image is capital 'I' in English but capital 'İ' (with overdot) in Turkish. Since utf8proc is locale-agnostic, it wouldn't be possible to implement this without also implementing all the ancillary code for locale handling. This problem is better suited for a library like libicu,. |
In fact, this manifestly returns the wrong result for terminal sigma in Greek: julia> lowercase("ΛΌΓΟΣ") #logos; λόγος
"λόγοσ" This is a separate issue, though. |
The
|
I think I succeeded in removing those calls for all of 2 days, then someone noticed that it broke printing of bignums. |
closed by PR #8233 |
Expected to see 'δ'--
The text was updated successfully, but these errors were encountered: