summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/GenFds/CapsuleData.py
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-06-06 11:23:33 +0300
committerRuiyu Ni <ruiyu.ni@intel.com>2017-06-07 03:51:41 +0300
commit4e6394455a8a9741dafe2928373db461ef21671e (patch)
treee79ad7a83086762b0745499b3c5b19a03d9b9099 /BaseTools/Source/Python/GenFds/CapsuleData.py
parent7bd5a2c81ed5bc52ed63b348fcb1686f1fb5b398 (diff)
downloadedk2-4e6394455a8a9741dafe2928373db461ef21671e.tar.xz
ShellPkg/parse: Handle Unicode stream from pipe correctly
The original code expects the Unicode stream from pipe doesn't contains the Unicode BOM. But that's not true. Commit [9ed21946c76e430097e9c4e59b419af928e0cb8c] changes CreateFileInterfaceMem() to add the BOM for Unicode stream. When parse pipe support was firstly added, a private implementation ParseReturnStdInLine() was created to specially handle the Unicode stream without BOM. Since now the Unicode steam contains BOM, the private implementation can be removed and ShellFileHandleReturnLine() can be used directly. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Tapan Shah <tapandshah@hpe.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/CapsuleData.py')
0 files changed, 0 insertions, 0 deletions