= Unicode Support in Trac [[TracGuideToc]] Trac encodes all text using [https://en.wikipedia.org/wiki/UTF-8 UTF-8], including text in tickets and wiki pages. Internal processing of text uses true [https://en.wikipedia.org/wiki/Unicode Unicode] representations. As such, it supports the most commonly used character encodings. If 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"]: {{{#!ini default_charset = gbk }}} Ensure that your [trac:DatabaseBackend database] stores its data in UTF-8, otherwise results may be unpredictable. 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 [https://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html iconv], and then re-import it. == Examples === Arabic تراك يقوم بحفظ كل الكلمات باستخدام صيغة UTF-8، بما في ذلك الكلمات المستخدمة في صفحات التيكت والويكي. === Bulgarian Българският език работи ли? === Česky Čeština v kódování UTF-8, žádný problém. === Chinese Traditional: 繁體中文, 漢字測試 Simplified: 简体中文,汉字测试 === Croatian Ako podržava srpski i slovenski mora podržavati i Hrvatski - čćžšđ ČĆŽŠĐ. === Dutch Enquêtes in de privésfeer zijn altijd geëngageerd. === English Yes indeed, Trac supports English. Fully. === Français Il est possible d'écrire en Français : à, ç, û. === German Trac-Wiki muß auch deutsche Umlaute richtig anzeigen: ö, ä, ü, Ä, Ö, Ü; und das scharfe ß. === Greek Τα Ελληνικά υποστηρίζονται επαρκώς επίσης. === Hebrew אני יכול לאכול זכוכית וזה לא מזיק לי === Hindi अब हिन्दी में। === Hungarian Árvíztűrő tükörfúrógép. === Icelandic Ævar sagði við ömmu sína: Sjáðu hvað ég er stór! === Japanese 漢字 ひらがな カタカナ ハンカクカナ 日本語試験 === Korean 이번에는 한글로 써보겠습니다. 잘 보이나요? 한글. === Latvian Latviešu valoda arī strādā! === Lithuanian Sudalyvaukime ir mes. Ar veikia lietuviškos raidės? ąčęėįšųūž ĄČĘĖĮŠŲŪŽ Žinoma, kad veikia. Kas tie mes? === Persian (Farsi) این یک متن فارسی است ولی امکان نوشتن مستقیم فارسی نیست چون حالت متن از راست به چپ و جود ندارد برای فارسی نوشتن باید از HTML استفاده کنید. {{{ #!html