This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: UTF-8 versus utf8

On Apr  2 16:29, Eric Blake wrote:
> On 04/02/2010 04:27 PM, Tim McDaniel wrote:
> > Why does <> 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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]