WikiPrint - from Polar Technologies

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.