DokuWiki

It's better when it's simple

User Tools

Site Tools


config:fnencode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
config:fnencode [2014-10-08 09:36]
Qiia added "url" being too long for 255 systems
config:fnencode [2018-02-08 11:24] (current)
sancaya On migrating in Windows to PHP 7.1
Line 12: Line 12:
 {{:config:warning.png  }} **Warning**: Changing this option could cause unintended behaviour. By changing it you can make pages created under a previous setting inaccessible. {{:config:warning.png  }} **Warning**: Changing this option could cause unintended behaviour. By changing it you can make pages created under a previous setting inaccessible.
  
-Please also note that storing UTF-8 filenames might not be possible with all file systems. Windows systems have been reported to not work with this setting.+Please also note that storing UTF-8 filenames might not be possible with all file systems. Windows systems have been reported to not work with this setting. (See [[#discussion]] below).
  
 ''url'' encoding for non-latin languages makes filenames too long and this can cause a problem for systems that are limited to 255 characters per filename. That is why it is better to use ''safe'' encoding for non-latin languages, which is approximately 60% shorter than ''url'' encoding. ''url'' encoding for non-latin languages makes filenames too long and this can cause a problem for systems that are limited to 255 characters per filename. That is why it is better to use ''safe'' encoding for non-latin languages, which is approximately 60% shorter than ''url'' encoding.
Line 22: Line 22:
   * [[deaccent|Encoding of page names in URL]]   * [[deaccent|Encoding of page names in URL]]
  
 +===== Discussion =====
 +
 +==== On migrating in Windows to PHP 7.1 ====
 +
 +PHP has UTF-8 support for Windows since PHP 7.1. To convert "gibberish" utf-8 file names in Windows, created by previous versions of PHP, see this tool: https://github.com/chang-zhao/encoding
  
config/fnencode.txt ยท Last modified: 2018-02-08 11:24 by sancaya