Changes between Version 2 and Version 3 of TracUnicode


Ignore:
Timestamp:
2019-05-02T09:45:05-03:00 (5 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracUnicode

    v2 v3  
    1 = Unicode Support in Trac
    2 
     1= Unicode Support in Trac =
    32[[TracGuideToc]]
    43
    5 Trac encodes all text using [wikipedia:UTF-8], including text in tickets and wiki pages. Internal processing of text uses true [wikipedia:Unicode] representations. As such, it supports most commonly used character encodings.
     4Trac encodes all text using [http://en.wikipedia.org/wiki/UTF-8 UTF-8], including text in tickets and wiki pages. Internal processing of text uses true [http://en.wikipedia.org/wiki/Unicode Unicode] representations. As such, it supports most (all?) commonly used character encodings.
    65
    7 If the default encoding in your source code repository is not UTF-8, you can specify it in your [TracIni#trac-section trac.ini] file:
    8 {{{#!ini
     6If the default encoding in your source code repository is not UTF-8, you can specify it in the [TracIni#trac-section trac.ini]:
     7{{{
    98default_charset = gbk
    109}}}
     
    1413To convert your database to UTF-8, the easiest way is to create a dump of the database, convert it into UTF-8, for example using [http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html iconv], and then import it back into the database.
    1514
    16 == Examples
     15== Examples ==
    1716
    18 === Arabic
    19 
     17=== Arabic ===
    2018تراك يقوم بحفظ كل الكلمات باستخدام صيغة UTF-8، بما في ذلك الكلمات المستخدمة في صفحات  التيكت والويكي.
    2119
    22 === Bulgarian
    23 
     20=== Bulgarian ===
    2421Българският език работи ли?
    2522
    26 === Česky
    27 
     23=== Česky ===
    2824Čeština v kódování UTF-8, žádný problém.
    2925
    30 === Chinese
     26=== Chinese ===
     27Traditional: 繁體中文, 漢字測試; Simplified: 简体中文,汉字测试
    3128
    32 Traditional: 繁體中文, 漢字測試
     29=== Croatian ===
     30Ako podržava srpski i slovenski mora podržavati i Hrvatski - čćžšđ ČĆŽŠĐ
    3331
    34 Simplified: 简体中文,汉字测试
    35 
    36 === Croatian
    37 
    38 Ako podržava srpski i slovenski mora podržavati i Hrvatski - čćžšđ ČĆŽŠĐ.
    39 
    40 === English
    41 
     32=== English ===
    4233Yes indeed, Trac supports English. Fully.
    4334
    44 === Français
     35=== Français ===
     36Il est possible d'écrire en Français : à, ç, û, ...
    4537
    46 Il est possible d'écrire en Français : à, ç, û.
     38=== German ===
     39Trac-Wiki muß auch deutsche Umlaute richtig anzeigen: ö, ä, ü, Ä, Ö, Ü; und das scharfe ß
    4740
    48 === German
    49 
    50 Trac-Wiki muß auch deutsche Umlaute richtig anzeigen: ö, ä, ü, Ä, Ö, Ü; und das scharfe ß.
    51 
    52 === Greek
    53 
     41=== Greek ===
    5442Τα Ελληνικά υποστηρίζονται επαρκώς επίσης.
    5543
    56 === Hebrew
    57 
     44=== Hebrew ===
    5845אני יכול לאכול זכוכית וזה לא מזיק לי
    5946
    60 === Hindi
    61 
     47=== Hindi ===
    6248अब हिन्दी में।
    6349
    64 === Hungarian
     50=== Hungarian ===
     51Árvíztűrő tükörfúrógép
    6552
    66 Árvíztűrő tükörfúrógép.
    67 
    68 === Icelandic
    69 
     53=== Icelandic ===
    7054Ævar sagði við ömmu sína: Sjáðu hvað ég er stór!
    7155
    72 === Japanese
    73 
     56=== Japanese ===
    7457漢字 ひらがな カタカナ ハンカクカナ 日本語試験
    7558
    76 === Korean
     59=== Korean ===
     60이번에는 한글로 써보겠습니다. 잘 보이나요? 한글
    7761
    78 이번에는 한글로 써보겠습니다. 잘 보이나요? 한글.
    79 
    80 === Latvian
     62=== Latvian ===
    8163
    8264Latviešu valoda arī strādā!
    8365
    84 === Lithuanian
     66=== Lithuanian ===
     67Sudalyvaukime ir mes. Ar veikia lietuviškos raidės? ąčęėįšųūž ĄČĘĖĮŠŲŪŽ Žinoma, kad veikia :)
     68Kas tie mes?
    8569
    86 Sudalyvaukime ir mes. Ar veikia lietuviškos raidės? ąčęėįšųūž ĄČĘĖĮŠŲŪŽ Žinoma, kad veikia. Kas tie mes?
    87 
    88 === Persian (Farsi)
    89 
     70=== Persian (Farsi) ===
    9071این یک متن فارسی است ولی امکان نوشتن مستقیم فارسی نیست چون حالت متن از راست به چپ و جود ندارد برای فارسی نوشتن باید از HTML استفاده کنید.
    9172{{{
     
    9980}}}
    10081
    101 === Polish
     82=== Polish ===
     83Pchnąć w tę łódź jeża lub osiem skrzyń fig; Nocna gżegżółka zawsze dzienną przekuka.
    10284
    103 Pchnąć w tę łódź jeża lub osiem skrzyń fig. Nocna gżegżółka zawsze dzienną przekuka.
    104 
    105 === Portuguese
    106 
     85=== Portuguese ===
    10786É possível guardar caracteres especias da língua portuguesa, incluindo o símbolo da moeda européia '€', trema 'ü', crase 'à', agudos 'áéíóú', circunflexos 'âêô', til 'ãõ', cedilha 'ç', ordinais 'ªº', grau '°¹²³'.
    10887
    109 === Russian
     88=== Russian ===
     89Проверка русского языка: кажется работает... И буква "ё" есть...
    11090
    111 Проверка русского языка: кажется работает. И буква "ё" есть.
    112 
    113 === Serbian
    114 
     91=== Serbian ===
    11592Podržan, uprkos činjenici da se za njegovo pisanje koriste чак два алфабета.
    11693
    117 === Slovenian
    118 
     94=== Slovenian ===
    11995Ta suhi škafec pušča vodo že od nekdaj!
    12096
    121 === Spanish
     97=== Spanish ===
     98Esto es un pequeño texto en Español, donde el veloz murciélago hindú comía cardlllo y kiwi
    12299
    123 Esto es un pequeño texto en Español, donde el veloz murciélago hindú comía cardillo y kiwi.
    124 
    125 === Swedish
    126 
     100=== Swedish ===
    127101Räven raskar över isen med luva på.
    128102
    129 === Thai
    130 
     103=== Thai ===
    131104Trac แสดงภาษาไทยได้อย่างถูกต้อง!
    132105
    133 === Ukrainian
     106=== Ukrainian ===
     107Перевірка української мови...
    134108
    135 Перевірка української мови.
    136 
    137 === Urdu
    138 
     109=== Urdu ===
    139110ٹریک اردو بھی سپورٹ کرتا ہے۔
    140111
    141 === Vietnamese
    142 
     112=== Vietnamese ===
    143113Viết tiếng Việt cũng được.