From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119056 invoked by alias); 20 Jun 2018 18:10:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 119034 invoked by uid 89); 20 Jun 2018 18:10:03 -0000 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 Received: from mail-io0-f173.google.com (HELO mail-io0-f173.google.com) (209.85.223.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Jun 2018 18:10:02 +0000 Received: by mail-io0-f173.google.com with SMTP id g22-v6so575176iob.7 for ; Wed, 20 Jun 2018 11:10:02 -0700 (PDT) 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 Received: by 2002:a4f:dd1:0:0:0:0:0 with HTTP; Wed, 20 Jun 2018 11:09:59 -0700 (PDT) From: Lee Date: Thu, 21 Jun 2018 07:20:00 -0000 Message-ID: Subject: UTF-8 character encoding To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00232.txt.bz2 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