Changes between Version 3 and Version 4 of TracUnicode
- Timestamp:
- 02/01/17 00:38:00 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracUnicode
v3 v4 1 = Unicode Support in Trac = 1 = Unicode Support in Trac 2 2 3 [[TracGuideToc]] 3 4 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.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. 5 6 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 {{{ 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 8 9 default_charset = gbk 9 10 }}} … … 13 14 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. 14 15 15 == Examples ==16 == Examples 16 17 17 === Arabic === 18 === Arabic 19 18 20 تراك يقوم بحفظ كل الكلمات باستخدام صيغة UTF-8، بما في ذلك الكلمات المستخدمة في صفحات التيكت والويكي. 19 21 20 === Bulgarian === 22 === Bulgarian 23 21 24 Българският език работи ли? 22 25 23 === Česky === 26 === Česky 27 24 28 Čeština v kódování UTF-8, žádný problém. 25 29 26 === Chinese === 27 Traditional: 繁體中文, 漢字測試; Simplified: 简体中文,汉字测试 30 === Chinese 28 31 29 === Croatian === 30 Ako podržava srpski i slovenski mora podržavati i Hrvatski - čćžšđ ČĆŽŠĐ 32 Traditional: 繁體中文, 漢字測試 31 33 32 === English === 34 Simplified: 简体中文,汉字测试 35 36 === Croatian 37 38 Ako podržava srpski i slovenski mora podržavati i Hrvatski - čćžšđ ČĆŽŠĐ. 39 40 === English 41 33 42 Yes indeed, Trac supports English. Fully. 34 43 35 === Français === 36 Il est possible d'écrire en Français : à, ç, û, ... 44 === Français 37 45 38 === German === 39 Trac-Wiki muß auch deutsche Umlaute richtig anzeigen: ö, ä, ü, Ä, Ö, Ü; und das scharfe ß 46 Il est possible d'écrire en Français : à, ç, û. 40 47 41 === Greek === 48 === German 49 50 Trac-Wiki muß auch deutsche Umlaute richtig anzeigen: ö, ä, ü, Ä, Ö, Ü; und das scharfe ß. 51 52 === Greek 53 42 54 Τα Ελληνικά υποστηρίζονται επαρκώς επίσης. 43 55 44 === Hebrew === 56 === Hebrew 57 45 58 אני יכול לאכול זכוכית וזה לא מזיק לי 46 59 47 === Hindi === 60 === Hindi 61 48 62 अब हिन्दी में। 49 63 50 === Hungarian === 51 Árvíztűrő tükörfúrógép 64 === Hungarian 52 65 53 === Icelandic === 66 Árvíztűrő tükörfúrógép. 67 68 === Icelandic 69 54 70 Ævar sagði við ömmu sína: Sjáðu hvað ég er stór! 55 71 56 === Japanese === 72 === Japanese 73 57 74 漢字 ひらがな カタカナ ハンカクカナ 日本語試験 58 75 59 === Korean === 60 이번에는 한글로 써보겠습니다. 잘 보이나요? 한글 76 === Korean 61 77 62 === Latvian === 78 이번에는 한글로 써보겠습니다. 잘 보이나요? 한글. 79 80 === Latvian 63 81 64 82 Latviešu valoda arī strādā! 65 83 66 === Lithuanian === 67 Sudalyvaukime ir mes. Ar veikia lietuviškos raidės? ąčęėįšųūž ĄČĘĖĮŠŲŪŽ Žinoma, kad veikia :) 68 Kas tie mes? 84 === Lithuanian 69 85 70 === Persian (Farsi) === 86 Sudalyvaukime ir mes. Ar veikia lietuviškos raidės? ąčęėįšųūž ĄČĘĖĮŠŲŪŽ Žinoma, kad veikia. Kas tie mes? 87 88 === Persian (Farsi) 89 71 90 این یک متن فارسی است ولی امکان نوشتن مستقیم فارسی نیست چون حالت متن از راست به چپ و جود ندارد برای فارسی نوشتن باید از HTML استفاده کنید. 72 91 {{{ … … 80 99 }}} 81 100 82 === Polish === 83 Pchnąć w tę łódź jeża lub osiem skrzyń fig; Nocna gżegżółka zawsze dzienną przekuka. 101 === Polish 84 102 85 === Portuguese === 103 Pchnąć w tę łódź jeża lub osiem skrzyń fig. Nocna gżegżółka zawsze dzienną przekuka. 104 105 === Portuguese 106 86 107 É 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 '°¹²³'. 87 108 88 === Russian === 89 Проверка русского языка: кажется работает... И буква "ё" есть... 109 === Russian 90 110 91 === Serbian === 111 Проверка русского языка: кажется работает. И буква "ё" есть. 112 113 === Serbian 114 92 115 Podržan, uprkos činjenici da se za njegovo pisanje koriste чак два алфабета. 93 116 94 === Slovenian === 117 === Slovenian 118 95 119 Ta suhi škafec pušča vodo že od nekdaj! 96 120 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 99 122 100 === Swedish === 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 101 127 Räven raskar över isen med luva på. 102 128 103 === Thai === 129 === Thai 130 104 131 Trac แสดงภาษาไทยได้อย่างถูกต้อง! 105 132 106 === Ukrainian === 107 Перевірка української мови... 133 === Ukrainian 108 134 109 === Urdu === 135 Перевірка української мови. 136 137 === Urdu 138 110 139 ٹریک اردو بھی سپورٹ کرتا ہے۔ 111 140 112 === Vietnamese === 141 === Vietnamese 142 113 143 Viết tiếng Việt cũng được.