gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Jack (JIRA)" <>
Subject [jira] Commented: (GUMP-81) Gump (or it's tools, CVS, etc.) does not cope with Unicode filenames
Date Tue, 29 Mar 2005 20:47:20 GMT
     [ ]
Adam Jack commented on GUMP-81:

Ok, I think I'm getting closer to understanding the problem. Python's unicode filename support
(todate) only exists on Windows (NT+). See (on Brutus). [I tried 2.4 also, no better.] :

>>> print os.path.supports_unicode_filenames

Unfortunately, when one reads the manuals, it says that os.listdir will return a sequence
of unicode filenames when passed a unicode path, which 99.9% of the time it does (except,
on Linux etc., when the filenames aren't within ascii and it can't convert them to unicode.)

Basically I think we need to attempt to have the sync module work 100% w/o unicode, and hence
codec re-encodings won't be attempted.

> Gump (or it's tools, CVS, etc.) does not cope with Unicode filenames
> --------------------------------------------------------------------
>          Key: GUMP-81
>          URL:
>      Project: Gump
>         Type: Bug
>   Components: Python-based Gump
>     Versions: Gump2
>     Reporter: Adam Jack
>      Fix For: Gump2

> A circumstance was found whereby 'resume.xml' (with an e acute) in a module (XOM, FWIIW)
was checked out of the repository, but the (Python code) 'sync' to a working directory failed.
It failed because Python's os.listdir returned a string for it, not Unicode (although it returned
unicode for al lthe plain file). This seems related to the fact that the default filesystem
encoding on the platofrm was 'ascii', and this file was not ascii.
> We need to create a test for such files, then work with Gump to resolve this issue.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message