Bazaar does not support umlauts in file names on Mac OS X

Alexander Belchenko bialix at ukr.net
Sun Nov 29 17:10:03 GMT 2009


Jean-Francois Roy пишет:
> On Nov 28, 2009, at 03:29, John Szakmeister wrote:
>> This may or may not be helpful, but this is what Erik ended up
>> proposing for SVN:
>>    http://svn.collab.net/repos/svn/trunk/notes/unicode-composition-for-filenames
>>
>> Admittedly, constantly recoding paths is probably not the best idea
>> for performance.  OTOH, having things Just Work is a good win.
>>
>> -John
>>
> 
> Oh, one thought that occurred to me upon reading his proposal is that he didn't seem to consider using platform code for doing this, namely CFString / NSString. CFString has API specifically designed for creating a CFString object from a filesystem path, for converting between the various unicode compositions and for comparing strings using Unicode. CFString relies on libicu for the heavy lifting (which is also built-in to the system).
> 
> Jeff
> 

I suspect using native API will be non-trivial thing given in mind bzr 
written in Python. If this API is not exposed as Python library, there 
need to write special wrapper. If this is ObjectiveC only thing, then 
there is double problem.

Patches are welcome, as usual.




More information about the bazaar mailing list