XPressME Integration Kit

Trac

Version 1 から Version 2 における更新: TracUnicode

差分発生行の前後
Ignore:
Timestamp:
Nov 29, 2010, 3:25:28 PM (13 years 前)
Author:
trac (IP: 127.0.0.1)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracUnicode

    v1 v2  
    1 = Trac における Unicode の対応 = #UnicodeSupportinTrac 
     1= Unicode Support in Trac = 
    22[[TracGuideToc]] 
    33 
    4 Trac はチケットや wiki ページに含まれているテキストデータを含め、すべてのテキストデータを UTF-8 エンコーディングで保持し、テキストデータの内部処理には Unicode 表記を使用しています。 
     4Trac stores all text using UTF-8 encoding, including text in tickets and wiki pages. Internal processing of text uses true Unicode representations. 
    55 
    6 Trac はほとんど (すべて?) の一般的に使われる文字エンコードに対応しています。 
     6As such, it supports most (all?) commonly used character encodings. 
    77 
    8 もしエンコードが UTF-8 でないならば、それを処理するのに [wiki:TracModPython mod_python] を使用することができます。たとえばローカルエンコーディングが gbk であるなら trac.ini に 
     8If your encoding is not UTF-8, you can use [wiki:TracModPython mod_python] to handle it.  For example, if your local encoding is gbk, you can set  
    99   default_charset = gbk 
    10 と設定してください。 
     10in trac.ini. 
    1111 
    12 また、バックエンドのデータベースが確実に UTF-8 を格納するようにしなければなりません; そうでなければ問題が発生するでしょう。 
     12You also must make sure that your [trac:DatabaseBackend database backend] stores its data in UTF-8; otherwise strange things will happen. 
    1313 
    14 データベースを UTF-8 に変換するためにもっとも簡単な方法は、データベースのダンプを取得し、ダンプを UTF-8 に変換して、変換したダンプをデータベースに書き戻すことです。[[BR]] 
    15 ダンプを変換するのに [http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html iconv] を使用することができます。 
     14To 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]] 
     15You can use [http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html iconv] to convert the dump. 
    1616 
    1717 
    18 == 例 == #Examples 
     18== Examples == 
    1919 
    2020=== Arabic === 
     
    114114 
    115115=== Vietnamese === 
    116 Viết tiếng Việt cũng được. Nhưng search từ tiếng Việt thì không bôi vàng được. (Keyword(s) in Vietnamese search result can not be hightlighted !!!!). 
     116Viết tiếng Việt cũng được.