close
Warning:
Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.
- Timestamp:
-
Jul 5, 2024, 1:11:45 PM (2 months ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v2
|
v3
|
|
3 | 3 | [[TracGuideToc]] |
4 | 4 | |
5 | | Trac encodes all text using [wikipedia:UTF-8], including text in tickets and wiki pages. Internal processing of text uses true [wikipedia:Unicode] representations. As such, it supports most commonly used character encodings. |
| 5 | Trac encodes all text using [https://en.wikipedia.org/wiki/UTF-8 UTF-8], including text in tickets and wiki pages. Internal processing of text uses true [https://en.wikipedia.org/wiki/Unicode Unicode] representations. As such, it supports the most commonly used character encodings. |
6 | 6 | |
7 | | If the default encoding in your source code repository is not UTF-8, you can specify it in your [TracIni#trac-section trac.ini] file: |
| 7 | If the default encoding of your source code repository is not UTF-8, you can specify it in [TracIni#trac-default_charset-option "[trac] default_charset"]: |
8 | 8 | {{{#!ini |
9 | 9 | default_charset = gbk |
10 | 10 | }}} |
11 | 11 | |
12 | | Also ensure that your [trac:DatabaseBackend database] stores its data in UTF-8, otherwise results may be unpredictable. |
| 12 | Ensure that your [trac:DatabaseBackend database] stores its data in UTF-8, otherwise results may be unpredictable. |
13 | 13 | |
14 | | To convert your database to UTF-8, the easiest way is to create a dump of the database, convert it into UTF-8, for example using [http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html iconv], and then import it back into the database. |
| 14 | To convert your database to UTF-8, the easiest way is to create a dump of the database, convert it into UTF-8, for example using [https://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html iconv], and then re-import it. |
15 | 15 | |
16 | 16 | == Examples |
… |
… |
|
37 | 37 | |
38 | 38 | Ako podržava srpski i slovenski mora podržavati i Hrvatski - čćžšđ ČĆŽŠĐ. |
| 39 | |
| 40 | === Dutch |
| 41 | |
| 42 | Enquêtes in de privésfeer zijn altijd geëngageerd. |
39 | 43 | |
40 | 44 | === English |