util: Add XPG locale verification function
Internally parse XPG locale so we can verify whether the locales are valid.
See https://www.gnu.org/software/libc/manual/html_node/Locale-Names.html
Edited by Bastien Nocera
Internally parse XPG locale so we can verify whether the locales are valid.
See https://www.gnu.org/software/libc/manual/html_node/Locale-Names.html