Forum

broken locale for directory listing

emmel
20 February 2014, 17:09
Running Hiawatha under a UTF-8 locale will mess up the directory listing (ShowIndex) feature. Unicode character in file names do show up inproperly.
The underlying XML for the directory shows multi byte characters as seperately escaped bytes. The filesystem in question is JFS, although that probably has no bearing on the issue. I believe the problem lies with Hiawatha copying the file names verbatim to the XML which has iso-latin1 hard wired into it. Using the system (or a configurable) locale string in the XML therefore ought to fix the issues. Unless, of course, the locale is something like UTF-16 which would require the characters for the tags to be different as well...

Hiawatha version: 9.3.1
Operating System: Linux
Hugo Leisink
22 February 2014, 20:20
Got it fixed for 9.4. Thanks for reporting.
This topic has been closed.