close
Warning:
Can't synchronize with repository "(default)" (/hepforge/svn/gg2vv does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Feb 29, 2012, 9:40:33 AM (13 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
5 | 5 | |
6 | 6 | As such, it supports most (all?) commonly used character encodings. |
| 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. |
| 11 | |
| 12 | You also must make sure that your [trac:DatabaseBackend database backend] stores its data in UTF-8; otherwise strange things will happen. |
| 13 | |
| 14 | 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]] |
| 15 | You can use [http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html iconv] to convert the dump. |
| 16 | |
7 | 17 | |
8 | 18 | == Examples == |
… |
… |
|
74 | 84 | |
75 | 85 | === Polish === |
76 | | Pchnąć w tę łódź jeża lub ośm skrzyń fig |
| 86 | Pchnąć w tę łódź jeża lub osiem skrzyń fig; Nocna gżegżółka zawsze dzienną przekuka. |
77 | 87 | |
78 | 88 | === Portuguese === |
… |
… |
|
89 | 99 | |
90 | 100 | === Spanish === |
91 | | Esto es un pequeño texto en Español, ahora una con acentó |
| 101 | Esto es un pequeño texto en Español, donde el veloz murciélago hindú comía cardlllo y kiwi |
92 | 102 | |
93 | 103 | === Swedish === |
… |
… |
|
104 | 114 | |
105 | 115 | === 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 !!!!). |
| 116 | Viết tiếng Việt cũng được. |