monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: problems with i18n testsuite


From: Robert Bihlmeyer
Subject: [Monotone-devel] Re: problems with i18n testsuite
Date: Mon, 19 Apr 2004 20:32:12 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux)

graydon hoare <address@hidden> writes:

> the new versions of the autotest macros reset all the locale-related
> environment variables to "C" (ascii) before running tests. this is
> just wrong imho, but I have put in work-around code for the time being.

I guess the reason is that usually (i.e. when you're not testing i18n
itself), you want your test result to be predictable, and not
influenced by the user's locale. But of course there should be a way
around this cleverness.

>> by the way: shouldn't filenames always be encoded in utf-8?
>> at least many file managers seem to use utf-8 file names.

But there are a number filesystems still containing legacy encodings.
Mine, for example, will be in latin1 until zsh and xemacs support
UTF-8 well.

> well, it should simply detect UTF-8 if that's your locale (when
> autotest doesn't interfere) but many users have other encodings
> already in use (KOI, EUC, ISO8859-x) and we need to be able to
> interoperate with them.

I think the best solution is to assume UTF-8, and use LC_CTYPE's
charset in case the filename is not valid UTF-8.

-- 
Robbe

Attachment: pgpD6kNevIl4W.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]