gibuu is hosted by Hepforge, IPPP Durham
GiBUU

Changes between Version 1 and Version 2 of TracUnicode


Ignore:
Timestamp:
Apr 28, 2008, 2:20:39 PM (17 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracUnicode

    v1 v2  
    11= Unicode Support in Trac =
    2 Trac stores all text using UTF-8 encoding, including text in tickets and wiki pages.
     2[[TracGuideToc]]
     3
     4Trac stores all text using UTF-8 encoding, including text in tickets and wiki pages. Internal processing of text uses true Unicode representations.
    35
    46As such, it supports most (all?) commonly used character encodings.
    57
     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
     9   default_charset = gbk
     10in trac.ini.
     11
     12You also must make sure that your [wiki:DatabaseBackend database backend] stores its data in UTF-8; otherwise strange things will happen.
     13
     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.
     16
    617
    718== Examples ==
    8 Please keep sorted order when you add an entry.
    919
    1020=== Arabic ===
     
    1828
    1929=== Chinese ===
    20 Traditional: ''繁體中文, 許功蓋會育''; Simplified: ''简体中文,许功盖会育''
     30Traditional: 繁體中文, 漢字測試; Simplified: 简体中文,汉字测试
     31
     32=== Croatian ===
     33Ako podržava srpski i slovenski mora podržavati i Hrvatski - čćžšđ ČĆŽŠĐ
    2134
    2235=== English ===
     
    2437
    2538=== Français ===
    26 ''Il est possible d'écrire en Français : à, ç, û, ...''
     39Il est possible d'écrire en Français : à, ç, û, ...
    2740
    2841=== German ===
    29 Trac-Wiki muß auch deutsche Umlaute richtig anzeigen: ö, ä, ü, ...
     42Trac-Wiki muß auch deutsche Umlaute richtig anzeigen: ö, ä, ü, Ä, Ö, Ü; und das scharfe ß
    3043
    3144=== Greek ===
     
    3548אני יכול לאכול זכוכית וזה לא מזיק לי
    3649
     50=== Hindi ===
     51अब हिन्दी में।
     52
     53=== Hungarian ===
     54Árvíztűrő tükörfúrógép
     55
    3756=== Icelandic ===
    38 ''Ævar sagði við ömmu sína: Sjáðu hvað ég er stór!''
     57Ævar sagði við ömmu sína: Sjáðu hvað ég er stór!
    3958
    4059=== Japanese ===
    41 ''漢字 ひらがな カタカナ ハンカクカナ''
     60漢字 ひらがな カタカナ ハンカクカナ 日本語試験
    4261
    4362=== Korean ===
    44 ''이번에는 한글로 써보겠습니다. 잘 보이나요?''
     63이번에는 한글로 써보겠습니다. 잘 보이나요? 한글
     64
     65=== Latvian ===
     66
     67Latviešu valoda arī strādā!
     68
     69=== Lithuanian ===
     70Sudalyvaukime ir mes. Ar veikia lietuviškos raidės? ąčęėįšųūž ĄČĘĖĮŠŲŪŽ Žinoma, kad veikia :)
     71Kas tie mes?
    4572
    4673=== Persian (Farsi) ===
    47 این یک متن فارسی است ولی از چپ به راست
     74این یک متن فارسی است ولی امکان نوشتن مستقیم فارسی نیست چون حالت متن از راست به چپ و جود ندارد برای فارسی نوشتن باید از HTML استفاده کنید.
     75{{{
     76#!html
     77<div dir="rtl">
     78}}}
     79این نمونه یک متن از راست به چپ فارسی است که در HTML نوشته شده تا اعداد 12345 و حروف لاتین ABCDEF در محل خودشان نمایش داده شوند.
     80{{{
     81#!html
     82</div>
     83}}}
    4884
    4985=== Polish ===
    50 Pchnąć w tę łódź jeża lub ośm skrzyń fig
     86Pchnąć w tę łódź jeża lub osiem skrzyń fig; Nocna gżegżółka zawsze dzienną przekuka.
    5187
    5288=== Portuguese ===
     
    5490
    5591=== Russian ===
    56 Проверка русского языка: кажется работает...
     92Проверка русского языка: кажется работает... И буква "ё" есть...
    5793
    5894=== Serbian ===
     
    66102
    67103=== Swedish ===
    68 ''Räven raskar över isen med luva på.''
     104Räven raskar över isen med luva på.
    69105
    70106=== Thai ===
     
    73109=== Ukrainian ===
    74110Перевірка української мови...
     111
     112=== Urdu ===
     113ٹریک اردو بھی سپورٹ کرتا ہے۔
     114
     115=== Vietnamese ===
     116Viế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 !!!!).