summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2024-07-02 16:50:23 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-07-17 01:06:00 +0000
commit6b4dd3625b24fbb9ac5d6d931dd11ff50e288a79 (patch)
tree8c3f6109781d3c39af162597a642e3b1992080a4 /MdeModulePkg
parent55b043732d20305c769c6243e0a9a6e1f5ae879d (diff)
downloadedk2-6b4dd3625b24fbb9ac5d6d931dd11ff50e288a79.zip
edk2-6b4dd3625b24fbb9ac5d6d931dd11ff50e288a79.tar.gz
edk2-6b4dd3625b24fbb9ac5d6d931dd11ff50e288a79.tar.bz2
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>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c b/MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c
index 69baf1c..68c2e35 100644
--- a/MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c
+++ b/MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c
@@ -667,7 +667,7 @@ SmiHandlerProfileInfoEntrypoint (
//
// 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"<ImageDatabase>\n");
Print (L" <!-- SMM image loaded -->\n");