delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/03/04:20:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sat, 3 Apr 2010 11:20:00 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: UTF-8 versus utf8
Message-ID: <20100403091959.GA18176@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT NEB DOT 4 DOT 64 DOT 1004021704050 DOT 12087 AT panix1 DOT panix DOT com> <4BB66FD6 DOT 5080402 AT redhat DOT com>
MIME-Version: 1.0
In-Reply-To: <4BB66FD6.5080402@redhat.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 Apr  2 16:29, Eric Blake wrote:
> On 04/02/2010 04:27 PM, Tim McDaniel wrote:
> > Why does <http://cygwin.com/cygwin-ug-net/setup-locale.html> talk all
> > about a charset of UTF-8, then "For a list of locales supported by
> > your Windows machine, use the new locale -a command", which shows
> > "utf8" (which matches my XP machine)?
> 
> UTF-8 is the canonical name of the charset, but utf8 is an acceptable
> synonym in most contexts, and is much easier to type.  So, when it comes
> to specifying your charset, the suffix ".utf8" is used to request the
> UTF-8 charset.

Actually, every codeset name can be written in uppercase, mixed case,
lowercase, as you like.  Apart from the canonical names, you can also
just drop any dash in the name:


  ISO-8859-1, isO-8859-1, iSo-88591, ISo8859-1, iso88591

denote all the same codeset.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019