Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA7B21131D for ; Thu, 12 Jun 2014 18:21:51 +0000 (UTC) Received: (qmail 87961 invoked by uid 500); 12 Jun 2014 18:21:51 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 87921 invoked by uid 500); 12 Jun 2014 18:21:51 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 87911 invoked by uid 99); 12 Jun 2014 18:21:51 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 18:21:51 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 2573F49C9B; Thu, 12 Jun 2014 18:21:51 +0000 (UTC) From: purplecabbage To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-wp8 pull request: CB-6932 Cannot build wp8 under Chinese (... Content-Type: text/plain Message-Id: <20140612182151.2573F49C9B@tyr.zones.apache.org> Date: Thu, 12 Jun 2014 18:21:51 +0000 (UTC) Github user purplecabbage commented on a diff in the pull request: https://github.com/apache/cordova-wp8/pull/40#discussion_r13717630 --- Diff: wp8/bin/create.js --- @@ -71,16 +71,42 @@ function read(filename) { return s; } +// Reads content of utf-8 encoded file, removing BOM, if exist. +function readUTF8 (filename) { --- End diff -- I think it is fine either way. We could also probably completely remove 'read', 'write' and 'replaceInFile' since they are not called. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---