#2275 closed task (fixed)
Change python source files's encoding to utf-8
Reported by: | 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 , 19 years ago
comment:2 by , 19 years ago
Cc: | added |
---|
comment:3 by , 19 years ago
Cc: | 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 , 19 years ago
Keywords: | unicode added |
---|---|
Milestone: | → 0.11 |
comment:5 by , 19 years ago
comment:6 by , 19 years ago
Milestone: | 0.11 → 0.10 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
That was done in r3025
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