|
- Timestamp:
-
Jul 10, 2013, 2:10:18 PM (11 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v2
|
v3
|
|
6 | 6 | As such, it supports most (all?) commonly used character encodings. |
7 | 7 | |
8 | | If your encoding is not UTF-8, you can use [wiki:TracModPython mod_python] to handle it. For example, if your local encoding is gbk, you can set |
9 | | default_charset = gbk |
10 | | in trac.ini. |
| 8 | If 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 | {{{ |
| 10 | default_charset = gbk |
| 11 | }}} |
11 | 12 | |
12 | | You also must make sure that your [wiki:DatabaseBackend database backend] stores its data in UTF-8; otherwise strange things will happen. |
| 13 | You also must make sure that your [trac:DatabaseBackend database backend] stores its data in UTF-8; otherwise strange things will happen. |
13 | 14 | |
14 | 15 | 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.[[BR]] |
… |
… |
|
99 | 100 | |
100 | 101 | === Spanish === |
101 | | Esto es un pequeño texto en Español, ahora una con acentó |
| 102 | Esto es un pequeño texto en Español, donde el veloz murciélago hindú comía cardlllo y kiwi |
102 | 103 | |
103 | 104 | === Swedish === |
… |
… |
|
114 | 115 | |
115 | 116 | === Vietnamese === |
116 | | 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 !!!!). |
| 117 | Viết tiếng Việt cũng được. |
|