delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/02/17:31:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4BB66FD6.5080402@redhat.com>
Date: Fri, 02 Apr 2010 16:29:42 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b1 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, tmcd AT panix DOT com
Subject: Re: UTF-8 versus utf8
References: <Pine DOT NEB DOT 4 DOT 64 DOT 1004021704050 DOT 12087 AT panix1 DOT panix DOT com>
In-Reply-To: <Pine.NEB.4.64.1004021704050.12087@panix1.panix.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

--------------enig7D3D2027E87B92C018F175DB
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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.

--=20
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig7D3D2027E87B92C018F175DB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAku2b9gACgkQ84KuGfSFAYAKYgCfbNEPGmXxTEx3oY7veu9r/Qrk
toYAoLbasJhDe+wksqWFl+I9YMCs0eal
=X8Yt
-----END PGP SIGNATURE-----

--------------enig7D3D2027E87B92C018F175DB--

- Raw text -


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