0
Answered

The text viewer is garbled! ! !

zycshiniye 1 year ago updated by Vlad R 1 year ago 8

Administrator, can you modify the text viewer? It does not support encoding such as gbk, but only supports utf. Can it be modified to upload and automatically convert to utf?

Answer

Answer
Answered

This has been fixed with the latest released FileRun update.

+1

I have the same problem, I have to use onlyoffice to view/edit gbk text file.

Under review

Can you please provide a sample file?

For the "Text Editor" plugin to detect Chinese encodings, you will need to add the following inside "customizables/config.php" (read more on how to create that file in the advanced configuration):

$config['app']['encoding']['detect'] = ['BIG-5', 'UTF-8', 'ISO-8859-1', 'ASCII'];

There is effect in editing, no effect in preview

Yes, that is to be expected. The viewer will be fixed with the next update.

Answer
Answered

This has been fixed with the latest released FileRun update.