mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 22:13:30 -10:00
Original code locates the first UnicodeCollation instance in
DXE Core protocol database.
It's not correct considering multiple UnicodeCollation instances
exist in system.
The patch changes logic to find the one that matches the current
system language.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Jaben Carsey <[email protected].
(cherry picked from commit d65f2cea36)