Closed kugelbltz closed 5 years ago
Note: in my review I forgot to add that everything that is being contributed here has either very few or no documentation at all. If we are to merge this in core
, this should be amended as well
Thank you for your feedbacks @privat @R4PaSs ! I have commited all of my modifications following your comments.
As for returning an empty string when a locale is invalid, the ICU library considers ""
as the root locale (eg. "en_US_POSIX")
ICU
ICU (International Components for Unicode) is an API which implements algorithms provided by the Unicode Consortium in C.
locale.nit
Locale
object which makes sure that the name of the locale is valid and handled by the ICU librarycaseModification.nit
Addition of
uppercase
,lowercase
andtitle
in theString
andCString
classes using aCaseModification
object.