diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-08-08 18:15:54 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-08-16 16:03:15 +0800 |
commit | bc0d3e29122df5fe4b71f6ef62e8652ea29fd6a0 (patch) | |
tree | df1984dd1cbff6d7fcf3fb4b2b90e6f7c75bb608 /BaseTools/Source/Python/Workspace/InfBuildData.py | |
parent | 7b85a1afa38c13fd40095f277cd26e5aa159b2f5 (diff) | |
download | edk2-bc0d3e29122df5fe4b71f6ef62e8652ea29fd6a0.tar.gz edk2-bc0d3e29122df5fe4b71f6ef62e8652ea29fd6a0.tar.bz2 edk2-bc0d3e29122df5fe4b71f6ef62e8652ea29fd6a0.zip |
ShellPkg/redirection: Insert \xFEFF after converting ASCII to Unicode
When "<a" is used to redirect ASCII file to an application, Shell
core reads the ASCII file and converts the ASCII to Unicode as the
input source of the application.
But per Shell spec, the input source should have \xFEFF to indicate
it's a Unicode stream.
The patch adds the missing \xFEFF.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/InfBuildData.py')
0 files changed, 0 insertions, 0 deletions