Changes between Version 3 and Version 4 of Trac Unicode


Ignore:
Timestamp:
Oct 25, 2020, 10:52:22 PM (4 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Trac Unicode

    v3 v4  
    1 = Unicode Support in Trac =
     1= Unicode Support in Trac
     2
    23[[TracGuideToc]]
    34
    4 Trac 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.
     5Trac 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 the most commonly used character encodings.
    56
    6 If the default encoding in your source code repository is not UTF-8, you can specify it in the [TracIni#trac-section trac.ini]:
    7 {{{
     7If the default encoding of your source code repository is not UTF-8, you can specify it in [TracIni#trac-default_charset-option "[trac] default_charset"]:
     8{{{#!ini
    89default_charset = gbk
    910}}}
    1011
    11 Also ensure that your [trac:DatabaseBackend database] stores its data in UTF-8, otherwise results may be unpredictable.
     12Ensure that your [trac:DatabaseBackend database] stores its data in UTF-8, otherwise results may be unpredictable.
    1213
    13 To 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.
     14To 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 [https://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html iconv], and then re-import it.
    1415
    15 == Examples ==
     16== Examples
    1617
    17 === Arabic ===
     18=== Arabic
     19
    1820تراك يقوم بحفظ كل الكلمات باستخدام صيغة UTF-8، بما في ذلك الكلمات المستخدمة في صفحات  التيكت والويكي.
    1921
    20 === Bulgarian ===
     22=== Bulgarian
     23
    2124Българският език работи ли?
    2225
    23 === Česky ===
     26=== Česky
     27
    2428Čeština v kódování UTF-8, žádný problém.
    2529
    26 === Chinese ===
    27 Traditional: 繁體中文, 漢字測試; Simplified: 简体中文,汉字测试
     30=== Chinese
    2831
    29 === Croatian ===
    30 Ako podržava srpski i slovenski mora podržavati i Hrvatski - čćžšđ ČĆŽŠĐ
     32Traditional: 繁體中文, 漢字測試
    3133
    32 === English ===
     34Simplified: 简体中文,汉字测试
     35
     36=== Croatian
     37
     38Ako podržava srpski i slovenski mora podržavati i Hrvatski - čćžšđ ČĆŽŠĐ.
     39
     40=== Dutch
     41
     42Enquêtes in de privésfeer zijn altijd geëngageerd.
     43
     44=== English
     45
    3346Yes indeed, Trac supports English. Fully.
    3447
    35 === Français ===
    36 Il est possible d'écrire en Français : à, ç, û, ...
     48=== Français
    3749
    38 === German ===
    39 Trac-Wiki muß auch deutsche Umlaute richtig anzeigen: ö, ä, ü, Ä, Ö, Ü; und das scharfe ß
     50Il est possible d'écrire en Français : à, ç, û.
    4051
    41 === Greek ===
     52=== German
     53
     54Trac-Wiki muß auch deutsche Umlaute richtig anzeigen: ö, ä, ü, Ä, Ö, Ü; und das scharfe ß.
     55
     56=== Greek
     57
    4258Τα Ελληνικά υποστηρίζονται επαρκώς επίσης.
    4359
    44 === Hebrew ===
     60=== Hebrew
     61
    4562אני יכול לאכול זכוכית וזה לא מזיק לי
    4663
    47 === Hindi ===
     64=== Hindi
     65
    4866अब हिन्दी में।
    4967
    50 === Hungarian ===
    51 Árvíztűrő tükörfúrógép
     68=== Hungarian
    5269
    53 === Icelandic ===
     70Árvíztűrő tükörfúrógép.
     71
     72=== Icelandic
     73
    5474Ævar sagði við ömmu sína: Sjáðu hvað ég er stór!
    5575
    56 === Japanese ===
     76=== Japanese
     77
    5778漢字 ひらがな カタカナ ハンカクカナ 日本語試験
    5879
    59 === Korean ===
    60 이번에는 한글로 써보겠습니다. 잘 보이나요? 한글
     80=== Korean
    6181
    62 === Latvian ===
     82이번에는 한글로 써보겠습니다. 잘 보이나요? 한글.
     83
     84=== Latvian
    6385
    6486Latviešu valoda arī strādā!
    6587
    66 === Lithuanian ===
    67 Sudalyvaukime ir mes. Ar veikia lietuviškos raidės? ąčęėįšųūž ĄČĘĖĮŠŲŪŽ Žinoma, kad veikia :)
    68 Kas tie mes?
     88=== Lithuanian
    6989
    70 === Persian (Farsi) ===
     90Sudalyvaukime ir mes. Ar veikia lietuviškos raidės? ąčęėįšųūž ĄČĘĖĮŠŲŪŽ Žinoma, kad veikia. Kas tie mes?
     91
     92=== Persian (Farsi)
     93
    7194این یک متن فارسی است ولی امکان نوشتن مستقیم فارسی نیست چون حالت متن از راست به چپ و جود ندارد برای فارسی نوشتن باید از HTML استفاده کنید.
    7295{{{
     
    80103}}}
    81104
    82 === Polish ===
    83 Pchnąć w tę łódź jeża lub osiem skrzyń fig; Nocna gżegżółka zawsze dzienną przekuka.
     105=== Polish
    84106
    85 === Portuguese ===
     107Pchnąć w tę łódź jeża lub osiem skrzyń fig. Nocna gżegżółka zawsze dzienną przekuka.
     108
     109=== Portuguese
     110
    86111É 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 '°¹²³'.
    87112
    88 === Russian ===
    89 Проверка русского языка: кажется работает... И буква "ё" есть...
     113=== Russian
    90114
    91 === Serbian ===
     115Проверка русского языка: кажется работает. И буква "ё" есть.
     116
     117=== Serbian
     118
    92119Podržan, uprkos činjenici da se za njegovo pisanje koriste чак два алфабета.
    93120
    94 === Slovenian ===
     121=== Slovenian
     122
    95123Ta suhi škafec pušča vodo že od nekdaj!
    96124
    97 === Spanish ===
    98 Esto es un pequeño texto en Español, donde el veloz murciélago hindú comía cardlllo y kiwi
     125=== Spanish
    99126
    100 === Swedish ===
     127Esto es un pequeño texto en Español, donde el veloz murciélago hindú comía cardillo y kiwi.
     128
     129=== Swedish
     130
    101131Räven raskar över isen med luva på.
    102132
    103 === Thai ===
     133=== Thai
     134
    104135Trac แสดงภาษาไทยได้อย่างถูกต้อง!
    105136
    106 === Ukrainian ===
    107 Перевірка української мови...
     137=== Ukrainian
    108138
    109 === Urdu ===
     139Перевірка української мови.
     140
     141=== Urdu
     142
    110143ٹریک اردو بھی سپورٹ کرتا ہے۔
    111144
    112 === Vietnamese ===
     145=== Vietnamese
     146
    113147Viết tiếng Việt cũng được.