[cmake-developers] CTest update broken with non-ASCII filenames

Rolf Eike Beer eike at sf-mail.de
Fri Apr 10 02:16:45 EDT 2015


Am Donnerstag, 9. April 2015, 21:08:20 schrieb Nils Gladitz:
> On 09.04.2015 20:39, Rolf Eike Beer wrote:
> > Am Donnerstag, 9. April 2015, 10:30:35 schrieb Brad King:
> >> On 04/09/2015 10:28 AM, Nils Gladitz wrote:
> >>>> What was the original problem you were trying to fix?
> >>> 
> >>> You pointed out test failures on "nibble.ngladitz" which I then tried to
> >>> fix:
> >>> 
> >>> https://open.cdash.org/testDetails.php?test=316350872&build=3711574
> >> 
> >> Right, I forgot about that, thanks.  So, this was exposed by
> >> using the zh_HK locale.
> > 
> > Just guessing: C will be "ASCII", i.e. "every 8 bit character gets
> > mangled"
> > (or at least everything not being able to be displayed in a 256 byte
> > codepage). So a fix could be to use something like en_US.UTF-8, if that is
> > available on the system, which sadly may not always be the case.
> 
> I merged "c-locale-messages" which tries to preserve LC_CTYPE (which
> affects filename encodings) in the presence of LC_ALL and sets
> LC_MESSAGES to C (which affects output messages).
> This does seem to fix both cases for me.
> 
> Forcing UTF-8 might not be the correct way to go since people might be
> using other encoding beyond ASCII and UTF-8.

Yes.

I wonder why you don't simply use "svn info --xml"?

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150410/4a0fab09/attachment-0001.sig>


More information about the cmake-developers mailing list