Return-Path: Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by mail.openembedded.org (Postfix) with ESMTP id F19126025E for ; Mon, 13 Mar 2017 10:08:23 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id b5so17637580pgg.1 for ; Mon, 13 Mar 2017 03:08:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to; bh=c6ESyEx8TscHj1PShqb47Wo1cjt3APakwEevDdDhSl0=; b=WHnyz3vVEcEO5wJgNmla3BGBArptM6gP5pHolnBgP6Gks20CIFdmlKEhdwxX+1KypX viq7LGrRQ8pPZgp9oEP5eWAtoo4nHAN9ocJ+Xf+fgfqtX8ajslW/xEiG7J47na38pPvX jJlXJNCp/UtnNwUwZyxfYceXlz0DE3Y4ZuVjbBYBuVZs4hUhNwPlKDtu+RzhihiSk/L/ NsnmZEohCLTJ9hcB7inEq3B25P4mNUzWfe3gjYLk3ozBG/JKubC1xxP3Gf+jsVr7MQjo IYGOtQKKV2KBmtFGVbmchTZb1Y4nD99ZfYLemhn2epl3eCW6lKZ3AUmbBBOpFaUhKubP ItIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to; bh=c6ESyEx8TscHj1PShqb47Wo1cjt3APakwEevDdDhSl0=; b=VltkLdVpWOxmFtOGo0vXtOkXExwBnLgumr3RO/jYPiSJT89JucmR3HJuG2kcVZxwOW 6WT+W60eWS5eIPTUFyKIlG1/hK0bWQkBNJR6c0s++wsWaMRecIDP3Ue9Gn52KoKM+hjY YlCxMOkMAaMCyvlyG6NeviyaBzihyzk/pMNChlrdxieKsoVy/3FM6OrHnTtcTLiRkhJz b/0oRcJkIeLYNZWxS0aaSJ0fxvBh6omw9DyKywF/ucKpDADxF/FAYwyu3SAZ66sfL7U/ j8C0lpO0P+WoZr2f+WN3ddvhZrWdgqI5CuLrWgrWvsGupv57/s5JJsXj+bUl1/3XLPsj 91ag== X-Gm-Message-State: AMke39lrqgnjxMWTbSt02L2mj5MR/+G7A8liak+6M8IGxEVJ1VQkhhxJu61updyIIheZaA== X-Received: by 10.84.198.164 with SMTP id p33mr46941084pld.127.1489399705042; Mon, 13 Mar 2017 03:08:25 -0700 (PDT) Received: from [10.161.103.40] ([111.93.218.67]) by smtp.gmail.com with ESMTPSA id m6sm32376557pgn.58.2017.03.13.03.08.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Mar 2017 03:08:24 -0700 (PDT) To: "Burton, Ross" , Armin Kuster References: <1489332452-19584-1-git-send-email-akuster808@gmail.com> From: akuster808 Message-ID: Date: Mon, 13 Mar 2017 03:08:22 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Cc: OE-core Subject: Re: [v2][PATCH] license class: try alt encoding when copying license file X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2017 10:08:25 -0000 Content-Type: multipart/alternative; boundary="------------9047EEFA1A41191F1C6C4553" --------------9047EEFA1A41191F1C6C4553 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 03/13/2017 02:42 AM, Burton, Ross wrote: > > On 12 March 2017 at 15:27, Armin Kuster > wrote: > > Try another encoding if utf-8 fails in file read. > > hl > I sent a patch for this last week (just taking bytes instead of > guessing encodings, which will still fail if the encoding isn't UTF-8 > or 8859-1) Your patch works great in this case. I was working in a old tree. - armin > > Ross --------------9047EEFA1A41191F1C6C4553 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit



On 03/13/2017 02:42 AM, Burton, Ross wrote:

On 12 March 2017 at 15:27, Armin Kuster <akuster808@gmail.com> wrote:
Try another encoding if utf-8 fails in file read.
hl
I sent a patch for this last week (just taking bytes instead of guessing encodings, which will still fail if the encoding isn't UTF-8 or 8859-1)
Your patch works great in this case. I was working in a old tree.
- armin

Ross

--------------9047EEFA1A41191F1C6C4553--