Korean message using OutputDebugStringW is displayed incorrectly in 'Event Log' lazarus / 12-Debugger ---------------------------------------------------------------------- marunguy · 2022-05-20 05:04 Korean message using Windows.OutputDebugStringW is displayed incorrectly in 'Event Log' window. The value of string variable including Korean is displayed correctly in 'Local Variables' window. When executed standalone, it is displayed correctly in the debug view. https://docs.microsoft.com/en-us/sysinternals/downloads/debugview Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i function TestOutputDebugStringW(): Integer;var    test_msg: string = 'abc가나다';    test_msg_u: UnicodeString;begin    test_msg_u := lazUTF8.UTF8ToUTF16(test_msg);    Windows.OutputDebugStringW(PWideChar(test_msg_u));    result := 1;    // to set breakpointend; Windows 10, Lazarus 2.2.2 windows 64bit, FPC 3.2.2 ---------------------------------------------------------------------- Martin_fr · 2022-05-20 10:33 Please report a bug on gitlab. Thanks