Navigation



Version 2 (modified by trac, 14 years ago) (diff)

--

Unicode Support in Trac

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 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 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.