diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2024-07-02 16:50:23 -0400 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-17 01:06:00 +0000 |
commit | 6b4dd3625b24fbb9ac5d6d931dd11ff50e288a79 (patch) | |
tree | 8c3f6109781d3c39af162597a642e3b1992080a4 /MdeModulePkg | |
parent | 55b043732d20305c769c6243e0a9a6e1f5ae879d (diff) | |
download | edk2-6b4dd3625b24fbb9ac5d6d931dd11ff50e288a79.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c b/MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c index 69baf1c51d..68c2e35791 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");
|