-
Fix the matching system for locale names so that it correctly identifies (for example) LANG=en_GB.UTF-8 as being en_GB, rather than being confused by the codeset suffix. Add some unit tests. Signed-off-by: Philip Withnall <withnall@endlessm.com>
ed84b7a3