Re: [edk2] [PATCH] MdePkg/BaseLib: AsciiStrToUnicodeStr(S) not handle EASCII properly

2018-10-19 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: Wu, Hao A > Sent: Friday, October 19, 2018 11:06 AM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Bin . Lain ; > Yao, Jiewen ; Kinney, Michael D > ; Gao, Liming > Subject: [PATCH] MdePkg/BaseLib: AsciiStrToUnicodeStr(S) not handle

[edk2] [PATCH] MdePkg/BaseLib: AsciiStrToUnicodeStr(S) not handle EASCII properly

2018-10-18 Thread Hao Wu
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1262 Current implementation of BaseLib APIs: AsciiStrToUnicodeStr() AsciiStrToUnicodeStrS() AsciiStrnToUnicodeStrS() do not handle EASCII properly. More specifically, if the value of ASCII character is larger than 0x7F, then the converted