= Unicode Support in Trac = [[TracGuideToc]] Trac stores all text using UTF-8 encoding, including text in tickets and wiki pages. Internal processing of text uses true Unicode representations. As such, it supports most (all?) commonly used character encodings. If your encoding is not UTF-8, you can use [wiki:TracModPython mod_python] to handle it. For example, if your local encoding is gbk, you can set default_charset = gbk in trac.ini. You also must make sure that your [wiki:DatabaseBackend database backend] stores its data in UTF-8; otherwise strange things will happen. To convert your database to UTF-8, the easiest way is to dump the database, convert the dump into UTF-8 and then import the converted dump back into the database.[[BR]] You can use [http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html iconv] to convert the dump. == 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 - čćžšđ ČĆŽŠĐ === 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