From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44571 invoked by alias); 25 May 2017 15:29:52 -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 44559 invoked by uid 89); 25 May 2017 15:29:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_00,LIKELY_SPAM_SUBJECT,SPF_PASS autolearn=no version=3.3.2 spammy=bom, Hx-spam-relays-external:14.3.294.0, Hx-exchange-antispam-report-cfa-test:100110500095, Hx-exchange-antispam-report-cfa-test:100000805047 X-HELO: USA7109MR001.ACS-INC.COM Received: from usa7109mr001.acs-inc.com (HELO USA7109MR001.ACS-INC.COM) (13.28.230.12) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 25 May 2017 15:29:50 +0000 Received: from usa7109ht002.na.xerox.net ([13.41.230.32]) by USA7109MR001.ACS-INC.COM with ESMTP/TLS/AES128-SHA256; 25 May 2017 10:26:55 -0500 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (216.32.180.16) by westgw.mail.xerox.com (13.41.230.32) with Microsoft SMTP Server (TLS) id 14.3.294.0; Thu, 25 May 2017 10:29:51 -0500 Received: from BN6PR2001MB1074.namprd20.prod.outlook.com (10.172.110.16) by BN6PR2001MB1074.namprd20.prod.outlook.com (10.172.110.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Thu, 25 May 2017 15:29:50 +0000 Received: from BN6PR2001MB1074.namprd20.prod.outlook.com ([10.172.110.16]) by BN6PR2001MB1074.namprd20.prod.outlook.com ([10.172.110.16]) with mapi id 15.01.1101.022; Thu, 25 May 2017 15:29:50 +0000 From: "Nellis, Kenneth" To: "cygwin@cygwin.com" Subject: UTF-8 compatibility between Windows and Cygwin Date: Thu, 25 May 2017 15:36:00 -0000 Message-ID: authentication-results: cygwin.com; dkim=none (message not signed) header.d=none;cygwin.com; dmarc=none action=none header.from=conduent.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR2001MB1074;7:VSzH1S5H8Ks7hjmC0pusHHZshZOXd+0vKVpxI0+rN8sk2dy/xi8V0wVfD4ExXp8RTKObY9qTt3CWUCkEMw7EqtzBQiNDE9WQZKenF/4LZSGwXTOEGgDt5aLpG55tNVbz8tmt38xaz0B9KU3qe3uZhjUFVPMs/tOtSUEOG+cjEnauiVKIHUtZYB1RfzvKsa4x958VWw36tfyRKpJSqN8a8YciY+8zJDv06Uf4KeCFMvEj79bEY/WHoQc6N9Q2eC8LF6bxEr3R5Dd+s6RkzZGt/xaWWk41EeZIYTYngXzIbRiG99MINNG8ZaOoFpkIyk+4YVHALfRSlgS6oGFS8Zt9Dg==;20:6vkmjjo8Kc4EdIKDK0Zh7ISAjmKU2UYgIr6ToHL9c7zn6yx39mNCFBGk+ciGnO+IPEg+T8HTrl12lTZb32rVXOHB3j44ik01Us3IGUdEaFZnrt5bTO3hQjU9iXsCJTqaFpes/DVR470BAnlDZ6YFCVtfKcORg+jYfN6wGk80qMm3hw4x393UKbOsUl9fwDs6dMGkoFHbo1JO5YqC6kihJwBlZshFSY4TLO+cz//0npj0lawCc9XjEr6eqUwYEfJ+ x-ms-traffictypediagnostic: BN6PR2001MB1074: x-ms-office365-filtering-correlation-id: c68052d7-b7ce-4645-d0ff-08d4a382e257 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(201703131423075)(201703031133081);SRVR:BN6PR2001MB1074; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700054)(100105000095)(100000701054)(100105300095)(100000702054)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703054)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123558100)(20161123562025)(20161123555025)(6072148)(100000704054)(100105200095)(100000705054)(100105500095);SRVR:BN6PR2001MB1074;BCL:0;PCL:0;RULEID:(100000800054)(100110000095)(100000801054)(100110300095)(100000802054)(100110100095)(100000803054)(100110400095)(100000804054)(100110200095)(100000805047)(100110500095);SRVR:BN6PR2001MB1074; x-forefront-prvs: 0318501FAE x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39840400002)(39850400002)(39450400003)(39410400002)(39400400002)(38730400002)(2351001)(110136004)(72206003)(6916009)(74316002)(305945005)(2501003)(122556002)(53936002)(86362001)(25786009)(8936002)(1730700003)(81166006)(8676002)(7696004)(3660700001)(3280700002)(2906002)(2900100001)(478600001)(5660300001)(7736002)(5640700003)(189998001)(6436002)(9686003)(55016002)(99286003)(54356999)(50986999)(6506006)(33656002)(6116002)(102836003)(77096006)(3846002)(66066001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR2001MB1074;H:BN6PR2001MB1074.namprd20.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2017 15:29:50.4074 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1aed4588-b8ce-43a8-a775-989538fd30d8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR2001MB1074 X-OriginatorOrg: conduent.com X-SW-Source: 2017-05/txt/msg00408.txt.bz2 I have (BOM-less) UTF-8 text files that I can read fine in=20 Cygwin, but not Windows. When I create text files in Windows=20 containing non-ASCII characters, I cannot read them in=20 Cygwin. I understand why, but wondering the best way to be=20 able to share text files across the two environments.=20 I'm pretty sure that I want to keep my Cygwin LANG=3DC.UTF-8=20 setting, but wondering what I can do on the Windows side for=20 compatibility and what are the side effects. Currently=20 Windows's Command Prompt command chcp shows "Active code=20 page: 437". (Is that obsolete or even relevant?) One solution seems to be to put a BOM in each UTF-8 text=20 file; then the files read fine in both environments, but=20 that's not conveniently accomplished. --Ken Nellis -- 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