[ http://issues.apache.org/jira/browse/GUMP-81?page=comments#action_61785 ] 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 False 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: http://issues.apache.org/jira/browse/GUMP-81 > 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: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]