m2-farzan / ros2-galactic-PKGBUILD

AUR Package for ROS 2 Galactic
11 stars 11 forks source link

Locale UTF-8 support check should also match lowercase utf8 #28

Closed Danzibob closed 1 year ago

Danzibob commented 1 year ago

Some locale settings contain lowercase versions of the utf8 string. Example from Manjaro Linux 5.10.131 :

~> locale
LANG=en_GB.utf8
LC_CTYPE="en_GB.utf8"
LC_NUMERIC=en_GB.UTF-8

As such, the PKGBUILD script should match the lowercase utf8 specifier utf8 as well as the current check for UTF-8.