Unicode Support in Trac
Table of Contents
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 the default encoding in your source code repository is not UTF-8, you can specify it in the trac.ini, for example:
default_charset = gbk
You also must make sure that your ò??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.
You can use ò??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 é?é?èÄè?é? èÄè?é? è?è? è?èÉè?è?è? 12345 é? è-èÁé?é? é?è?è?ë?é? ABCDEF è?èÁ é?è-é? è?é?è?èÄè?é? é?é?è?ë?èÄ è?è?è?é? èÄé?é?è?.
Polish
PchnÔ?Ô? w tÔ? Õ?ÓÃdÕÊ jeÕÌa lub osiem skrzyÕ? fig; Nocna gÕÌegÕÌÓÃÕ?ka zawsze dziennÔ? przekuka.
Portuguese
Ó? 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 'ÒÀÒÉÒÂÒÃ'.
Russian
à?á?àÎàÂàÅá?àÊàÀ á?á?á?á?àÊàÎàÃàÎ á?àÇá?àÊàÀ: àÊàÀàÆàÅá?á?á? á?àÀàÁàÎá?àÀàÅá?... à? àÁá?àÊàÂàÀ "á?" àÅá?á?á?...
Serbian
PodrÕÎan, uprkos Ô?injenici da se za njegovo pisanje koriste á?àÀàÊ àÄàÂàÀ àÀàËá?àÀàÁàÅá?àÀ.
Slovenian
Ta suhi ÕÅkafec puÕÅÔ?a vodo ÕÎe od nekdaj!
Spanish
Esto es un pequeÓÁo texto en EspaÓÁol, donde el veloz murciÓ?lago hindÓÊ comÓ-a cardlllo y kiwi
Swedish
RÓ?ven raskar ÓÆver isen med luva pÓ?.
Thai
Trac ðÉ?ðÈ?ðÈ?ðÈ?ðÈšðÈÂðÈ?ðÈÂðÉ?ðÈ?ðÈ?ðÉ?ðÈ?ðÉ?ðÈ-ðÈ?ðÉ?ðÈÂðÈ?ðÈ?ðÈÉðÈ?ðÈ?ðÉ?ðÈ-ðÈ?!
Ukrainian
à?àÅá?àÅàÂá?á?àÊàÀ á?àÊá?àÀá?àÍá?á?àÊàÎá? àÌàÎàÂàÈ...
Urdu
éÉèÁë?ê? è?èÁè?é? è?êÎë? èÃéÎé?èÁéÉ ê?èÁè?è? ë?ë?ë?
Vietnamese
ViñÊÏt tiñÊÏng ViñË?t cÕ?ng Ô?ÖÀñË?c.