[OE-core] [v2][PATCH] license class: try alt encoding when copying license file

akuster808 akuster808 at gmail.com
Mon Mar 13 10:08:22 UTC 2017



On 03/13/2017 02:42 AM, Burton, Ross wrote:
>
> On 12 March 2017 at 15:27, Armin Kuster <akuster808 at gmail.com 
> <mailto:akuster808 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170313/3bce9fe0/attachment-0002.html>


More information about the Openembedded-core mailing list