-
Notifications
You must be signed in to change notification settings - Fork 93
-
Notifications
You must be signed in to change notification settings - Fork 93
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
capitalize_ascii don’t work for accentuated letters #593
Comments
It looks like proper handling of Unicode stuff requires the use of a separate library (Camomile, Batteries, Uchar, ...) |
Yes this is indeed something that should be done, migrating to an external lib (thus creating a dependency). Long time ago, I was not sure which one should be used, but maybe camomile is the one to go with. |
And of course, we could get ride of this (horrible) hack in ged2gwd. |
I tried this in util.ml (line 114): replace: and it seems to work, at least for the é and â I tried!! |
By the way, what was happening before remains quite mystérious for me!! |
Independently of this fix, it appears that the capitalize (and possibly translate) function is broken for russian! and
|
This is fixed but dunno when! |
Dunno if it is fully fixed, but the small change I made on Feb 26 does the job! |
The last modification from the 12 february 2018 in the master to be able to compile Gw with Ocaml > 4.05 changed the function capitalize to capitalize_ascii. Since that change, we have for eg.
[*event/events]1
(that should writeÉvènements
in french) left in lowercase and writtenévènements
. What can be done to have these characters accentuated again?The text was updated successfully, but these errors were encountered: