per Junichi Uekawa's patch in Debian's version of nano, call setlocale()
outside the ENABLE_NLS #ifdef, since UTF-8 support (specifically, the wide character handling functions it needs) won't work properly if the locale isn't set, whether NLS is enabled or not git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1865 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Showing
+4 -1
Please register or sign in to comment