Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wrap: use nl_langinfo to get locale codeset
Using more and more complicated constructs comparing locale strings doesn't lead to anywhere. Even with the current two steps long comparison the program is wrong on systems which use "utf8" in their locale names (e.g., my openSUSE/Tumbleweed). It is better to use proper locale functions to get canonical name of the current codeset. Link: https://lists.sr.ht/~rjarry/aerc-devel/%[email protected]%3E Signed-off-by: Matěj Cepl <[email protected]> Acked-by: Robin Jarry <[email protected]>
- Loading branch information