Issue resolved : utf-8 characters display issue : might be interesting to you guys
In short, there has always been utf-8 charset display problems, e.g. French accent letters and Chinese characters are not well displayed.
I have all other config file set to utf-8 but still not working.
I looked into the include/list.php and found file names are encoded in utf-8 with
with is unnecessary since they were already in utf-8 when read from the file system.
So just replace every "utf8_encode($item)" with just "$item" and all characters are well displayed! At least tested on Chinese and French.
Hopes this could be useful to us all.
list _for_utf8.php (12.2 KB)
RE: Issue resolved : utf-8 characters display issue : might be interesting to you guys - Added by Sören Eberhardt-Biermann about 4 years ago
Thank you! I will include the idea behind your fix in the next version.
RE: Issue resolved : utf-8 characters display issue : might be interesting to you guys - Added by Botu Sun about 4 years ago
Sorry I forgot that in line 229
$abs_item = get_abs_item(utf8_decode($dir), $item);
I also need to change "utf8_decode($dir)" to "$dir" in order to make operations to files within a directory whose name contains utf8 chars.