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