LarsWirzenius added a comment.

I confirm that generating the locales in the image, or installing locales-all (which has all locales generated) will make the étoile test work. I agree that it might be good for Blubber to automatically add one of those, but at least there's a workaround without Blubber changing. locales-all adds about 125 MB to the size of the image, so generating a UTF8 locale is probably better.

I don't know which locale should be used. The C.UTF8 locale does not seem to work with the test case.

I ran this command: docker run unitest env LC_ALL=fr_FR.UTF8 python3 -c "print('étoile')"

Varying that to set C.UTF8 or fi_FI.UTF8 gives different results. C.UTF8 fails , the fi or fr ones work.


TASK DETAIL
https://phabricator.wikimedia.org/T210260

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: LarsWirzenius
Cc: LarsWirzenius, dduvall, hashar, akosiaris, Aklapper, Ladsgroup, Nandana, Lahi, Gq86, Vacio, GoranSMilovanovic, QZanden, Gstupp, LawExplorer, _jensen, D3r1ck01, notconfusing, thcipriani, mobrovac, Wikidata-bugs, aude, Alchimista, Addshore, Mbch331, Jay8g, greg
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to