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:
Michael Kubacki 2024-07-02 16:50:23 -04:00 committed by mergify[bot]
parent 55b043732d
commit 6b4dd3625b

View File

@ -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");