Project

General

Profile

Fehler #151

How to setup to make it support Chinese

Added by Gipors Lee almost 4 years ago. Updated over 3 years ago.

Status:
Neu
Priority:
Normal
Assignee:
-
Category:
Bug
Target version:
eXtplorer Version:
2.1.4
Joomla! Version:
Joomla! 3.1

QQ截图20140109130614.jpg - Can not display Chinese file names. (36.7 KB) Gipors Lee, 01/09/2014 06:33 AM

list.php Magnifier - Corrected list.php for utf-8 file names (12.2 KB) Botu Sun, 04/03/2014 05:10 PM

History

#1 Updated by Gipors Lee almost 4 years ago

I'm using it as a single file manager.I like the UI, but there is a problem. When there is a file wiht file name of Chinese, it can not display the Chinese, even if I using the Chinese lang. How can I fix it? I'm using the 2.1.5

#2 Updated by Botu Sun over 3 years ago

Hi,

I've also encountered problem like yours.
I looked into the //include/list.php and found file names are encoded in utf-8 with

  utf8_encode($item)

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!

Botu

#3 Updated by Sören Eberhardt-Biermann over 3 years ago

  • Category set to Bug
  • Target version set to 2.1.6

This will be fixed in version 2.1.6

Also available in: Atom PDF