File System Encoding

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(Created page with 'If you have iconv enabled (visit http://php.net/iconv for more information), you can use this directive to specify the encoding of file names in your system. This option is impor…')
 
(Article contents proof-read and formatted)
 
Line 1: Line 1:
If you have iconv enabled (visit http://php.net/iconv for more information), you can use this directive to specify the encoding of file names in your system. This option is important only if you use a windows based server. If you use an encoding file system other than the ASCII type like e.g.EUC-CN (which is chinese enoding) some of the options of CKFinder may not work and the name of the file which the user uploaded could be changed. If you want to avoid this kind of situation use only ASCII file names .
+
{{#CUSTOMTITLE:File System Encoding}}
 +
If you have <code>iconv</code> enabled (visit http://php.net/iconv for more information), you can use this directive to specify the encoding of file names in your system. This option is only important if you use a Windows-based server.
 +
 
 +
If you use a file system encoding other than the ASCII type, like e.g.EUC-CN (which is a Chinese enoding), some of the options of CKFinder may not work and the name of the file which the user uploaded could be changed. If you want to avoid this kind of situation only use ASCII file names.
  
 
Examples of different file system encoding
 
Examples of different file system encoding
<pre>$config['FilesystemEncoding'] = 'CP1250';
+
<source lang="php">$config['FilesystemEncoding'] = 'CP1250';
 
$config['FilesystemEncoding'] = 'ISO-8859-2';
 
$config['FilesystemEncoding'] = 'ISO-8859-2';
 
$config['FilesystemEncoding'] = 'UTF-8';
 
$config['FilesystemEncoding'] = 'UTF-8';
</pre>
+
</source>

Latest revision as of 14:35, 16 December 2011

If you have iconv enabled (visit http://php.net/iconv for more information), you can use this directive to specify the encoding of file names in your system. This option is only important if you use a Windows-based server.

If you use a file system encoding other than the ASCII type, like e.g.EUC-CN (which is a Chinese enoding), some of the options of CKFinder may not work and the name of the file which the user uploaded could be changed. If you want to avoid this kind of situation only use ASCII file names.

Examples of different file system encoding

$config['FilesystemEncoding'] = 'CP1250';
$config['FilesystemEncoding'] = 'ISO-8859-2';
$config['FilesystemEncoding'] = 'UTF-8';
This page was last edited on 16 December 2011, at 14:35.