Version 2 (modified by 16 years ago) (diff) | ,
---|
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 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. NhÆ°ng search từ tiếng Viá»t thì không bôi và ng Äược. (Keyword(s) in Vietnamese search result can not be hightlighted !!!!).