Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#2275 closed task (fixed)

Change python source files's encoding to utf-8

Reported by: trac-ja@… Owned by: Jonas Borgström
Priority: normal Milestone: 0.10
Component: general Version: 0.8.4
Severity: normal Keywords: unicode
Cc: dserodio@…, progfou@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The default charset is utf-8 on databese, Wiki pages and Templates. But source files has iso-8859-1.

On New-BSD licenses, we can re-distribute with saving license lines. Jonas's family name has umlaut-o, and we changes file-encodings to utf-8 (or other) to translate other language them under the not iso-8859-1 maps.

What's happen, umlaut-o has differrent maps between is-8859-1 and utf-8. And we encountered diffs on license lines.

I think, it's no problem, but feels not good. Change charset to utf-8 on python source files, please.

Attachments (0)

Change History (6)

comment:1 by Emmanuel Blot, 19 years ago

For the french translation, I add to convert all the .py files to utf-8 encoding, which is kind of a nightmare when I merge the updated official trunk to the translated version.

I would like Trac to use UTF-8 as the default .py encoding as well. related ticket: #280

comment:2 by dserodio@…, 19 years ago

Cc: dserodio@… added

comment:3 by progfou, 19 years ago

Cc: progfou@… added

Could you please consider this before the 0.11 milestone?

If the source code is all ISO-8859-1 encoded, it should be pretty quick to recode the whole thing. It will surely help the French, Japanese and others translation efforts, hardly waiting for the 0.11 release, and may be even the /sandbox/unicode branch… ;-)

comment:4 by Christian Boos, 19 years ago

Keywords: unicode added
Milestone: 0.11

comment:5 by Emmanuel Blot, 19 years ago

I'm not sure how this ticket relates to 0.11 or unicode.

I'm using UTF-8 encoded Python files for the french version of Trac, and there's pretty much no effort to move from ISO-8859-1 to UTF-8.

comment:6 by Christian Boos, 19 years ago

Milestone: 0.110.10
Resolution: fixed
Status: newclosed

That was done in r3025

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.