i18n and file systems
Martin Pool
mbp at sourcefrog.net
Tue Dec 13 08:08:11 GMT 2005
On 13 Dec 2005, Robert Collins <robertc at robertcollins.net> wrote:
> Martin is currently disabling the specific test when it can't run (which
> is appropriate here).
Done now: tests can raise TestSkipped if they discover they can't
actually run. (This is only part of the spec covering this; we can add
more exceptions and other nuances later.)
I agree with the tests you'd like to add.
> But it raises an interesting discussion we've kindof ignored. Firstly
> the background:
>
> Some file systems/platforms are unicode through and through - no matter
> what your terminal encoding is, the file system can still represent and
> return an unicode path. (Whether python figures this out and uses the
> appropriate apis is a good question). Examples are NTFS(on win32)
> (IIRC), and HFS+(with MacOSX). Lets call this unicode safe.
Linux can approximate this by just declaring that all applications
*must* pass utf-8 to filesystem calls (or they're broken.) Or rather, a
particular distribution could make such a statement.
This suggests users might want all paths to be expressed in UTF-8, even
if they want their terminal and their file contents in ascii or 8859-1.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051213/74a94abc/attachment.pgp
More information about the bazaar
mailing list