]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg/CommandLib: Use first found UC for unsupported PlatformLang
authorMarvin H?user <mhaeuser@outlook.de>
Tue, 5 Nov 2019 13:50:44 +0000 (21:50 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 8 Nov 2019 00:29:58 +0000 (08:29 +0800)
commit9e9f0be353d4e28ccbca8f84fc8b2ab1bbe31d5c
treeb5b360ffd721be7a149ee2b39a51d23d00783ce9
parent0cecb1f99e6c4ba7408272074541bab98c98a116
ShellPkg/CommandLib: Use first found UC for unsupported PlatformLang

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2300

On some firmwares PlatformLang is set to the local language (e.g. ru-RU),
however there is no Unicode Collation protocol instance that supports it.
As for missing PlatformLang, fall back to the first found instance.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Marvin Haeuser <mhaeuser@outlook.de>
ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c