tweet:2015:0310_01
pydio
日本語ファイル名が扱えないと思い込んでいたPydioだが、ちょっとした設定の問題だった。 でも、これ、分かりにくい…
CentOSの場合の修正点を以下に記載
# vi /etc/pydio/bootstrap_conf.php
/*
* If you have a charset warning, or problems displaying filenames with accented characters,
* check your system locale and set it in the form lang_country.charset
* Example : fr_FR.UTF-8, fr_FR.ISO-8859-1, fr_FR.CP1252 (windows), en_EN.UTF-8, etc.
*
* Windows users may define an empty string
* define("AJXP_LOCALE", "");
*/
//define("AJXP_LOCALE", "en_EN.UTF-8");
//define("AJXP_LOCALE", "");
define("AJXP_LOCALE", "ja_JP.UTF-8"); <--- ここを追加する
# vi /etc/pydio/bootstrap_context.php
@error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
//Windows users may have to uncomment this
//setlocale(LC_ALL, '');
setlocale(LC_ALL, 'ja_JP.UTF-8'); <--- ここを追加する
@libxml_disable_entity_loader(false);
tweet/2015/0310_01.txt · 最終更新: by 127.0.0.1
