Opened 18 years ago
Closed 18 years ago
#4765 closed defect (fixed)
[patch] Problem with non ascii filenames
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | 0.11 |
Component: | version control | Version: | |
Severity: | trivial | Keywords: | mercurial unicode |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The attached patch solves a problem for me with non ascii characters in filenames.
The problem was observed using the Mercurial plugin on Trac 0.11dev. standalone.
The system used was Mac OS X 10.4.
I am not an expert in Trac, unicode, or locale so it might not be a portable fix bur here it is anyway.
regards
Anders
Attachments (1)
Change History (4)
by , 18 years ago
comment:1 by , 18 years ago
Component: | general → version control |
---|---|
Keywords: | mercurial unicode added |
Owner: | changed from | to
Are you using source:sandbox/mercurial-plugin-0.11 ?
If not, you should, as I believe the unicode issues are correctly handled there. If you're already using the 0.11 version of the plugin, please attach a sample bundle which I could use to reproduce the error.
comment:2 by , 18 years ago
Milestone: | → 0.11 |
---|---|
Severity: | normal → trivial |
Status: | new → assigned |
This problem should be gone with the latest version of the plugin, as mentioned above, but to make the base versioncontrol API safer, I'll use to_unicode()
instead of unicode
there.
diff of trac/versioncontrol/api.py