This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: dg-error vs. i18n?
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- Cc: Dave Korn <dave dot korn dot cygwin at googlemail dot com>, Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Sat, 24 Oct 2009 06:59:39 +0100
- Subject: Re: dg-error vs. i18n?
- References: <4AE235E4.2060005@gmail.com> <84fc9c000910231559y194a9ccfyfb9414f8ed04a361@mail.gmail.com> <Pine.LNX.4.64.0910232305540.30905@digraph.polyomino.org.uk> <4AE24BE4.8020207@gmail.com> <4AE281BC.1040200@cwilson.fastmail.fm>
Charles Wilson wrote:
> [cross-posted to cygwin list]
[ Cross-post broken and CC list trimmed; I don't think we need trouble the GCC
list with this again until we have a patch that says what kind of
target-dependent changes we want to make to the testsuite files to set LANG
and LC_ALL correctly for our platform. ]
>
> 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 ').
>
> Dave Korn wrote:
>> Thanks, that was it. Had to use "C.CP437" in the end, apparently we have
>> charset encoding names for lots of OEM code pages but none for plain vanilla
>> ASCII.
>
> That's interesting. I had thought "ascii" was a fairly common encoding
> name; I know I've seen both 'encoding="ascii"' and 'encoding="us-ascii"'
> in XML documents. Maybe we (cygwin) should add an explicit
> plain-old-ascii encoding name?
This was tangentially referenced in the recent thread "Re: "C" UTF-8
trouble" on the -developers list.
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