X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: <416096c60908300959i1e0084b1xc8f6e65e792b035d AT mail DOT gmail DOT com> <20090908193456 DOT GC17515 AT calimero DOT vinschen DOT de> <416096c60909081449r1fe024dbm7b82a3719be05e9e AT mail DOT gmail DOT com> <20090921103758 DOT GE20981 AT calimero DOT vinschen DOT de> <416096c60909211420g4ac8ea93l80fc1f00dcd5c0f3 AT mail DOT gmail DOT com> <416096c60909212347r7e03a4f3q7d518ff7e8bce55d AT mail DOT gmail DOT com> <416096c60909220549jaa601d9l26621e9910136a3 AT mail DOT gmail DOT com> Date: Tue, 22 Sep 2009 12:49:05 -0400 Message-ID: Subject: Re: The C locale From: "Mark J. Reed" To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, Sep 22, 2009 at 12:26 PM, Lapo Luchini wrote: > There never was any ISO-8859-1 "=C3=85=C2=A4" in the first place, only one > a-umlaut entered in WindowsExplorer (in the expected way) and correctly > interpreted by a UTF8-capable terminal which is doing his job. > > Nobody ever intended to write a Latin1 string with the meaning of > "A-ring + currency symbol" which has been translated by chance in a > a-umlaut... Yes, but it's working because you (1) lied about your locale (using C when your terminal is set to UTF-8) and (2) happen to have your terminal set to UTF-8, which is how Cygwin happens to be encoding the character. It's a big accident and stops working if you were actually using a non-UTF-8 terminal and locale (hopefully matching ones). --=20 Mark J. Reed -- 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