Modify ↓
#1477 closed defect (fixed)
trac-admin creates trac.ini with wrong encoding
| Reported by: | dserodio | Owned by: | Christian Boos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10 |
| Component: | admin/console | Version: | devel |
| Severity: | minor | Keywords: | |
| Cc: | dserodio@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
In my trac.ini file, I had default_charset set to iso-8859-1 and name set to Projeto Excelência.
The HTML served by Trac had a bad <title>, with a "square" char in place of the ê.
Attachments (0)
Change History (8)
comment:1 by , 21 years ago
| Cc: | added |
|---|
comment:2 by , 20 years ago
| Version: | 0.8.1 → devel |
|---|
comment:4 by , 20 years ago
| Component: | general → trac-admin |
|---|---|
| Owner: | changed from to |
| Summary: | Can't use ISO-8859-1 characters in trac.ini → trac-admin creates trac.ini with wrong encoding |
Thanks for the tip, changing to UTF-8 did work.
This file was created by trac-admin, so that's where the bug is! I'm changing this ticket's Summary and Component accordingly.
comment:5 by , 19 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
I did a clean install of 0.10 and the default encoding is now set correctly to:
# -*- coding: utf-8 -*-
comment:6 by , 19 years ago
| Resolution: | worksforme |
|---|---|
| Status: | closed → reopened |
… but this didn't change by magic ;)
comment:7 by , 19 years ago
| Owner: | changed from to |
|---|---|
| Status: | reopened → new |
comment:8 by , 19 years ago
| Milestone: | → 0.10 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Was fixed in r3556.
Note:
See TracTickets
for help on using tickets.



This problem still occurs in r2362.
Sending of e-mail notifications doesn't work either (#1744), probably related to this.