Skip to content

Commit

Permalink
MdeModulePkg/SmiHandlerProfileInfo: Declare correct XML encoding
Browse files Browse the repository at this point in the history
The code prints wide strings, so the content should be "utf-16"
rather than "utf-8".

Signed-off-by: Michael Kubacki <[email protected]>
  • Loading branch information
makubacki authored and mergify[bot] committed Jul 17, 2024
1 parent 55b0437 commit 6b4dd36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 6b4dd36

Please sign in to comment.