TracUnicode のバージョン 1 とバージョン 2 との変更
- 日時:
- 2015/05/27 0:24:03 (11年前)
凡例:
- 変更なし
- 追加
- 削除
- 更新
-
TracUnicode
v1 v2 1 = Unicode Support in Trac =1 = Trac における Unicode の対応 = #UnicodeSupportinTrac 2 2 [[TracGuideToc]] 3 3 4 Trac stores all text using UTF-8 encoding, including text in tickets and wiki pages. Internal processing of text uses true Unicode representations.4 Trac はチケットや wiki ページに含まれているテキストデータを含め、すべてのテキストデータを UTF-8 エンコーディングで保持し、テキストデータの内部処理には Unicode 表記を使用しています。 5 5 6 As such, it supports most (all?) commonly used character encodings. 6 Trac はほとんど (すべて?) の一般的に使われる文字エンコードに対応しています。 7 7 8 If the default encoding in your source code repository is not UTF-8, you can specify it in the [TracIni#trac-section trac.ini], for example:8 もしソースコードリポジトリのエンコードの初期値が UTF-8 でない場合, [TracIni#trac-section trac.ini] で指定することができます。 例: 9 9 {{{ 10 10 default_charset = gbk 11 11 }}} 12 12 13 You also must make sure that your [trac:DatabaseBackend database backend] stores its data in UTF-8; otherwise strange things will happen. 13 また、 [trac:DatabaseBackend バックエンドのデータベース] が確実に UTF-8 を格納するようにしなければなりません。 そうでなければ問題が発生するでしょう。 14 14 15 To convert your database to UTF-8, the easiest way is to dump the database, convert the dump into UTF-8 and then import the converted dump back into the database.[[BR]]16 You can use [http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html iconv] to convert the dump. 15 データベースを UTF-8 に変換するためにもっとも簡単な方法は、データベースのダンプを取得し、ダンプを UTF-8 に変換して、変換したダンプをデータベースに書き戻すことです。[[BR]] 16 ダンプを変換するのに [http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html iconv] を使用することができます。 17 17 18 18 19 == Examples ==19 == 例 == #Examples 20 20 21 21 === Arabic === … … 32 32 33 33 === Croatian === 34 Ako podržava srpski i slovenski mora podržavati i Hrvatski - čćžšđ ČĆŽŠĐ 34 Ako podržava srpski i slovenski mora podržavati i Hrvatski - čćžšđ ČĆŽŠĐ 35 35 36 36 === English ===
![(please configure the [header_logo] section in trac.ini)](/python/trac/mypz/chrome/common/trac_logo_mini.png)