dg-error vs. i18n?

Dave Korn dave.korn.cygwin@googlemail.com
Sat Oct 24 08:11:00 GMT 2009


Andy Koppe wrote:
> 2009年10月24日 Charles Wilson:
>> [cross-posted to cygwin list]
>>>> Background for cygwin list: Dave discovered a problem running some of
>> the gcc tests. The tests were run in the "C" locale, but in so doing
>> they assumed an ascii encoding (specifically, that "'" would match ' in
>> test patterns -- but the program actually emitted those fancy curled
>> quotes which did not match ').
>> Do you mean they explicitly set the "C" locale?

 Yes, exactly that. When I run the testcases at the command line and pipe
stderr into "od -c", I can see where I get multibyte characters instead of
apostrophes. Setting LC_ALL and LANG to C.CP437 gets me genuine apostrophes
instead of fancy quotes at the command line, although I haven't figured out
how to get the testsuite to DTRT yet.
> Actually, we do: "C.ASCII". 

 Ah, that's funny. I thought I had tried both "C.ASCII" and "C.US-ASCII" and
neither of them worked, but now I see that plain old "ASCII" does indeed work
just fine. Must have fat-fingered something. (Ah, thanks history buffer! I
see I managed to use a lower-case 'c'!) Mystery solved.
 cheers,
 DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /