On Mon, Mar 26, 2018 at 01:05:21PM -0300, Iñaki Malerba wrote: >Found a bug while running reprotests with the kk_KZ.RK1048 LC_ALL option > >How to reproduce: >``` ># LC_ALL=kk_KZ.RK1048 help2man >Unknown encoding 'RK1048' at /usr/bin/help2man line 56. >```
Unfortunately, Perl's Encode module does not support that encoding. I can punt the requirement to support it upstream, but outside of that there is not a whole lot I can do. Re-encoding is done for all messages to the user, since the translations are encoded in UTF-8, which is not necessarily the user's encoding. For example if the user's locale is LANG=ru_RU.cp1251, error and help text should be readable even though the translations are encoded in UTF-8. Is this an actual problem which you have, in which case I'll persue the upstream fix, otherwise I'll downgrade to a wishlist bug. Note that LANG=kk_KZ.UTF-8 works fine (although currently has no translated messages). --bod