]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Trim/Trim.py
BaseTools:Trim will trig exception when input asl UTF8 format file
authorFan, ZhijuX <zhijux.fan@intel.com>
Thu, 28 Mar 2019 02:12:31 +0000 (10:12 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Mon, 1 Apr 2019 05:37:17 +0000 (13:37 +0800)
commit58742d79457e71fba75d72e79050ba43915e3ed6
tree298633ca105519884b2d6457288e96bde581d168
parent8028f03032182f2c72e7699e1d14322bb5586581
BaseTools:Trim will trig exception when input asl UTF8 format file

BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1641

The command trim --asl-file -o test.i UTF8.asl will trig the exception.
Trim tool should report error message for unsupported UTF8 file instead
of the exception.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Trim/Trim.py