Re: [edk2] [PATCH V3] BaseTools:Trim will trig exception when input asl UTF8 format file

2019-03-29 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: Fan, ZhijuX > Sent: Thursday, March 28, 2019 11:21 AM > To: edk2-devel@lists.01.org > Cc: Gao, Liming ; Feng, Bob C > Subject: [edk2][PATCH V3] BaseTools:Trim will trig exception when input asl > UTF8 form

[edk2] [PATCH V3] BaseTools:Trim will trig exception when input asl UTF8 format file

2019-03-27 Thread Fan, ZhijuX
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1641 The command trim --asl-file -o test.i UTF8.asl will trig the exception. There's a problem with the encoding of the file,it only appears in python3. I changed the way I opened it to support reading this file Cc: Bob Feng Cc: Liming Gao Contr