Hi! Here is an improvement of slang library for UTF-8 locale. It's just a set of patches used in Fedora and Debian. The debian one is fixed back to leave library name "libslang.*", not "libslang-utf8.*". Maybe it is wrong, if it's so, apply slang-debian-utf8.orig.patch instead of slang-debian-utf8.patch. It's very important to support non-8-bit locales in a modern distro, and I'd like to help a bit.
Created attachment 29188 [details] The ebuild itself The ebuild itself
Created attachment 29189 [details, diff] A modified patch from Debian for slang to work with Utf-8
Created attachment 29190 [details, diff] An original patch from Debian for slang to work with Utf-8
Created attachment 29191 [details, diff] RH patches
Created attachment 29192 [details, diff] RH patches
probably better handled by cjk ?
*** Bug 52846 has been marked as a duplicate of this bug. ***
Thanks to all, I've just added it to CVS. I used original Debian patch and made symlinks to libslang-utf8 as other distros do. I didn't make utf8 patchs applied by default (apply utf8 patches only if you have unicode USE flag on), and that's another reason. Also, I added cjk as maintaining herd of slang. If you experience any problem about utf8 patches, please report it back.