Changes between Version 5 and Version 6 of TracUnicode


Ignore:
Timestamp:
Feb 4, 2019, 3:13:39 PM (6 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracUnicode

    v5 v6  
    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 [http://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=== English
     41
    3342Yes indeed, Trac supports English. Fully.
    3443
    35 === Français ===
    36 Il est possible d'écrire en Français : à, ç, û, ...
     44=== Français
    3745
    38 === German ===
    39 Trac-Wiki muß auch deutsche Umlaute richtig anzeigen: ö, ä, ü, Ä, Ö, Ü; und das scharfe ß
     46Il est possible d'écrire en Français : à, ç, û.
    4047
    41 === Greek ===
     48=== German
     49
     50Trac-Wiki muß auch deutsche Umlaute richtig anzeigen: ö, ä, ü, Ä, Ö, Ü; und das scharfe ß.
     51
     52=== Greek
     53
    4254Τα Ελληνικά υποστηρίζονται επαρκώς επίσης.
    4355
    44 === Hebrew ===
     56=== Hebrew
     57
    4558אני יכול לאכול זכוכית וזה לא מזיק לי
    4659
    47 === Hindi ===
     60=== Hindi
     61
    4862अब हिन्दी में।
    4963
    50 === Hungarian ===
    51 Árvíztűrő tükörfúrógép
     64=== Hungarian
    5265
    53 === Icelandic ===
     66Árvíztűrő tükörfúrógép.
     67
     68=== Icelandic
     69
    5470Ævar sagði við ömmu sína: Sjáðu hvað ég er stór!
    5571
    56 === Japanese ===
     72=== Japanese
     73
    5774漢字 ひらがな カタカナ ハンカクカナ 日本語試験
    5875
    59 === Korean ===
    60 이번에는 한글로 써보겠습니다. 잘 보이나요? 한글
     76=== Korean
    6177
    62 === Latvian ===
     78이번에는 한글로 써보겠습니다. 잘 보이나요? 한글.
     79
     80=== Latvian
    6381
    6482Latviešu valoda arī strādā!
    6583
    66 === Lithuanian ===
    67 Sudalyvaukime ir mes. Ar veikia lietuviškos raidės? ąčęėįšųūž ĄČĘĖĮŠŲŪŽ Žinoma, kad veikia :)
    68 Kas tie mes?
     84=== Lithuanian
    6985
    70 === Persian (Farsi) ===
     86Sudalyvaukime ir mes. Ar veikia lietuviškos raidės? ąčęėįšųūž ĄČĘĖĮŠŲŪŽ Žinoma, kad veikia. Kas tie mes?
     87
     88=== Persian (Farsi)
     89
    7190این یک متن فارسی است ولی امکان نوشتن مستقیم فارسی نیست چون حالت متن از راست به چپ و جود ندارد برای فارسی نوشتن باید از HTML استفاده کنید.
    7291{{{
     
    8099}}}
    81100
    82 === Polish ===
    83 Pchnąć w tę łódź jeża lub osiem skrzyń fig; Nocna gżegżółka zawsze dzienną przekuka.
     101=== Polish
    84102
    85 === Portuguese ===
     103Pchnąć w tę łódź jeża lub osiem skrzyń fig. Nocna gżegżółka zawsze dzienną przekuka.
     104
     105=== Portuguese
     106
    86107É 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 '°¹²³'.
    87108
    88 === Russian ===
    89 Проверка русского языка: кажется работает... И буква "ё" есть...
     109=== Russian
    90110
    91 === Serbian ===
     111Проверка русского языка: кажется работает. И буква "ё" есть.
     112
     113=== Serbian
     114
    92115Podržan, uprkos činjenici da se za njegovo pisanje koriste чак два алфабета.
    93116
    94 === Slovenian ===
     117=== Slovenian
     118
    95119Ta suhi škafec pušča vodo že od nekdaj!
    96120
    97 === Spanish ===
    98 Esto es un pequeño texto en Español, donde el veloz murciélago hindú comía cardlllo y kiwi
     121=== Spanish
    99122
    100 === Swedish ===
     123Esto es un pequeño texto en Español, donde el veloz murciélago hindú comía cardillo y kiwi.
     124
     125=== Swedish
     126
    101127Räven raskar över isen med luva på.
    102128
    103 === Thai ===
     129=== Thai
     130
    104131Trac แสดงภาษาไทยได้อย่างถูกต้อง!
    105132
    106 === Ukrainian ===
    107 Перевірка української мови...
     133=== Ukrainian
    108134
    109 === Urdu ===
     135Перевірка української мови.
     136
     137=== Urdu
     138
    110139ٹریک اردو بھی سپورٹ کرتا ہے۔
    111140
    112 === Vietnamese ===
     141=== Vietnamese
     142
    113143Viết tiếng Việt cũng được.