|
close
Warning:
- Error with navigation contributor "BrowserModule"
- Failed to sync with repository "(default)": instance.__dict__ not accessible in restricted mode; repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
- Timestamp:
-
Nov 9, 2012, 9:15:52 AM (12 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 | 13 | You also must make sure that your [trac:DatabaseBackend database backend] stores its data in UTF-8; otherwise strange things will happen. |
|