Changes between Version 1 and Version 2 of TracUnicode


Ignore:
Timestamp:
05/26/16 20:23:33 (8 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracUnicode

    v1 v2  
    55 
    66As such, it supports most (all?) commonly used character encodings. 
     7 
     8If the default encoding in your source code repository is not UTF-8, you can specify it in the [TracIni#trac-section trac.ini], for example: 
     9{{{ 
     10default_charset = gbk 
     11}}} 
     12 
     13You also must make sure that your [trac:DatabaseBackend database backend] stores its data in UTF-8; otherwise strange things will happen. 
     14 
     15To 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.[[BR]] 
     16You can use [http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html iconv] to convert the dump. 
     17 
    718 
    819== Examples == 
     
    7485 
    7586=== Polish === 
    76 Pchn?? w t? ?ód? je?a lub o?m skrzy? fig 
     87Pchn?? w t? ?ód? je?a lub osiem skrzy? fig; Nocna g?eg?ó?ka zawsze dzienn? przekuka. 
    7788 
    7889=== Portuguese === 
     
    89100 
    90101=== Spanish === 
    91 Esto es un pequeño texto en Español, ahora una con acentó 
     102Esto es un pequeño texto en Español, donde el veloz murciélago hindú comía cardlllo y kiwi 
    92103 
    93104=== Swedish === 
     
    104115 
    105116=== Vietnamese === 
    106 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 !!!!). 
     117Vi?t ti?ng Vi?t c?ng ???c.