aboutsummaryrefslogtreecommitdiffstats
path: root/config/cmds.go
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2024-05-28 14:51:31 +0200
committerRobin Jarry <robin@jarry.cc>2024-05-28 23:52:33 +0200
commitd3288e6359744ad0383d08270aea74f4497c974d (patch)
tree4a4a168c1f0a95e39dac43f04ac186e678c14071 /config/cmds.go
parent3a97f68a31320bf0bac0d2d703fdc140692861c3 (diff)
downloadaerc-d3288e6359744ad0383d08270aea74f4497c974d.tar.gz
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/%3CD1L7746XIJ3Z.3SN11SOVO175Q@cepl.eu%3E Signed-off-by: Matěj Cepl <mcepl@cepl.eu> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config/cmds.go')
0 files changed, 0 insertions, 0 deletions