Edgewall Software
Modify

Opened 19 years ago

Closed 17 years ago

Last modified 18 months ago

#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 anonymous, 19 years ago

Cc: dserodio@… added

comment:2 by dserodio@…, 19 years ago

Version: 0.8.1devel

This problem still occurs in r2362.

Sending of e-mail notifications doesn't work either (#1744), probably related to this.

comment:3 by Emmanuel Blot, 19 years ago

Severity: normalminor

You need to use UTF-8, not ISO-8859-1

comment:4 by dserodio@…, 19 years ago

Component: generaltrac-admin
Owner: changed from Jonas Borgström to daniel
Summary: Can't use ISO-8859-1 characters in trac.initrac-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 sid, 17 years ago

Resolution: worksforme
Status: newclosed

I did a clean install of 0.10 and the default encoding is now set correctly to:

# -*- coding: utf-8 -*-

comment:6 by Christian Boos, 17 years ago

Resolution: worksforme
Status: closedreopened

… but this didn't change by magic ;)

comment:7 by Christian Boos, 17 years ago

Owner: changed from daniel to Christian Boos
Status: reopenednew

comment:8 by Christian Boos, 17 years ago

Milestone: 0.10
Resolution: fixed
Status: newclosed

Was fixed in r3556.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.