Version 2 (modified by trac, 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 !!!!).