mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 08:04:07 +02:00
MdeModulePkg/SmiHandlerProfileInfo: Declare correct XML encoding
The code prints wide strings, so the content should be "utf-16" rather than "utf-8". Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
parent
55b043732d
commit
6b4dd3625b
@ -667,7 +667,7 @@ SmiHandlerProfileInfoEntrypoint (
|
|||||||
//
|
//
|
||||||
// Dump all image
|
// Dump all image
|
||||||
//
|
//
|
||||||
Print (L"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
|
Print (L"<?xml version=\"1.0\" encoding=\"utf-16\"?>\n");
|
||||||
Print (L"<SmiHandlerProfile>\n");
|
Print (L"<SmiHandlerProfile>\n");
|
||||||
Print (L"<ImageDatabase>\n");
|
Print (L"<ImageDatabase>\n");
|
||||||
Print (L" <!-- SMM image loaded -->\n");
|
Print (L" <!-- SMM image loaded -->\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user