delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/06/20/14:10:15

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=UQ9HuWPzC32DBrqzr4hc/bfjAagfm
/eKpUxF2qX3sh0BLbvUma3iY5tm9KOrQkA9NHjwZ2zf9NqMoqFe8JeDOXGSuKMMn
zYDZ3sKhhHE/ql3K17PdTLtGbs8gMpRCWfBrhwkoQ+Yal9i3B6JIq1JMyyFVLUy9
JTn07aK0zcjgB8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=6ca4RUeJ1zie7wloCujPlpTfFrc=; b=RLq
7a+3gCUyosljzQ2HHUo7hc7Bjn47PLqHsvNgY5B+9AWY6V5xNNb6jWC9A7ug2ZIk
euJA1CoPAx3KR3OU3AWQnOWoA3UEisXzpwDHkIiU5lWFJa7OjiwOtHjzQRmrA5/o
2qH8IybShHBhol011gS9dVGniM7TPZeQyzoy9kro=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:512, Unicode
X-HELO: mail-io0-f173.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wCI01MsPC1rc1GpHbLe0HKW7j9pVJG09WIWfm0YmV0k=; b=anOOscwX4p8FFN4DuDAi2zFjjgsjw6bV2McAK2uyCLlIl2uBJTsB4sHhvN5E6ziLp4 4ZEZ9RqAZJX9MvmTP+A0XYBX+qmkEZsk5gM2fVUW11y64Kix0su5f7WkTDTc0XCzr8T5 7J5BRYjTRvHeFvpGG07N5akHAxdC/JezMbCAbbXGVCMfofT4oOtDOqz1+Nhqzp0PsfPT wZkWQ3sjmSQ7qnHp4yu9nsOLOYNo7M2yM4eS3Aj4fZyfVnt4JJp6yZLey7r9a3BPYXNw fnxvV864wZJ8fGKoJ+KMt7nO0afWV2q8furjMuyEClzwNI7aCFrQf/k5sh4ZipfT5hez u4Rw==
X-Gm-Message-State: APt69E3TWRKpPCb/tjbKV0tChMwg5fQWIaNgX/Cnx8yxBzw78ed4gp/Q jhGeXVzcRtSrpGMNevJsYcqzuHrKGM3VB3mXZHM=
X-Google-Smtp-Source: ADUXVKLG+T0aNNfz7eyUJsFa0Ma+i9gehwEvG5Hkde6h4TMmxHTr0sgs79MXXq0A6Zn0QN6nEo72x2jfwGIp/r0ktx4=
X-Received: by 2002:a6b:a7cc:: with SMTP id q195-v6mr17515749ioe.130.1529518200443; Wed, 20 Jun 2018 11:10:00 -0700 (PDT)
MIME-Version: 1.0
From: Lee <ler762 AT gmail DOT com>
Date: Wed, 20 Jun 2018 14:09:59 -0400
Message-ID: <CAD8GWss253v-p+FjeonEqibr53v6wZRCQ+NWxBhb0LimQaM4sQ@mail.gmail.com>
Subject: UTF-8 character encoding
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

I'm looking at
  https://cygwin.com/packaging-hint-files.html#pvr.hint
and it starts off with
  Use UTF-8 character encoding.

How do I do that and how do I check that I actually did use UTF-8
character encoding _without_ using file?

for whatever it's worth:
$ file unicode.html
unicode.html: HTML document, UTF-8 Unicode text

$ file test.c
test.c: C source, ASCII text

I used vi to create both files & I'd like to understand why file says
one is ascii & the other is utf-8

Thanks,
Lee

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