CobaltFusion / DebugViewPP

DebugView++, collects, views, filters your application logs, and highlights information that is important to you!
Boost Software License 1.0
978 stars 144 forks source link

Support of Unicode OutputDebugStringW() #378

Closed RvanValen closed 2 years ago

RvanValen commented 2 years ago

I see that DebugView++ does not show Unicode output as this moment when using OutputDebugStringW(). According to MS there is a configuration call required to handle this (WaitForDebugEventEx()) https://docs.microsoft.com/en-us/windows/win32/api/debugapi/nf-debugapi-outputdebugstringw

Will this be added to future versions of DebugView++?

janwilmans commented 2 years ago

Debugview++ does not support this new behaviour and there are no plans to support it. The reason is that all strings in Debugview++ are std::strings' that do not specify a specific encoding.

There is however a way to make it display UTF-8 encoded strings correctly by enabling this windows feature:

I've tested this with chinese UTF-8 strings and it worked well, see screenshots below.

I hope this can help.

Greetings,

Jan

image

image

image

On Thu, Jan 6, 2022, 08:34 Roger van Valen @.***> wrote:

I see that DebugView++ does not show Unicode output as this moment when using OutputDebugStringW(). According to MS there is a configuration call required to handle this (WaitForDebugEventEx())

https://docs.microsoft.com/en-us/windows/win32/api/debugapi/nf-debugapi-outputdebugstringw

Will this be added to future versions of DebugView++?

— Reply to this email directly, view it on GitHub https://github.com/CobaltFusion/DebugViewPP/issues/378, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNITBAMTMFV5QXHMREIIU3UUVAYFANCNFSM5LLWQ3EA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

RvanValen commented 2 years ago

Thank you for your quick response. Good to know.

Unfortunately the github ticket does not show me the images - it shows [image: image.png] instead. But I'll give UTF-8 a try.

The issue can be closed,

Best regards, Roger.

janwilmans commented 2 years ago

image image

RvanValen commented 1 year ago

Thanks!