Trac 文字コード設定

trac.ini

[trac]
default_charset = XXXXX

管理画面からだと>管理>trac.ini>tracの中の "default_charset" で設定。
ファイルに MIME タイプ charset パラメータをつけてやる。

$ svn propset svn:mime-type "text/plain;charset=XXXXX" hogehoge.txt

使える文字コードPython の方を参照すれば良い? Trac Lightning だと次のファイルかな?

  • C:\TracLight\python\Lib\locale.py

入門Trac with Subversion Linux/Windows対応

入門Trac with Subversion Linux/Windows対応