Reputation: 8335
Is it possible, using Visual Studio 2005 (and higher) to display a null terminated char buffer as UTF-8 strings while debugging ?
For example, if i have a buffer containing the bytes of the UTF-8 string "Здравствуйте"
, is there an option to display it as such (when hovering it with the mouse) instead of the ugly ascii equivalent : "ЗдравÑтвуйте"
?
Thank you :)
Upvotes: 1
Views: 306
Reputation: 941635
Use the s8
format specifier in the debug expression:
Your version of VS is stone cold old however, not sure if VS2005 supported it yet.
Upvotes: 2