Beginning with version 6.6.0, TotalView can display wide characters using normal C and C++ conventions. If you create an array of wchar_t wide characters, TotalView automatically changes the type to $wstring[n]; that is, it is displayed as a null-terminated, quoted string with a maximum length of n. For an array of wide characters, the null terminator is L'0'. Similarly, TotalView changeswchar_t* declarations to $wstring* (a pointer to a null-terminated string).

[/url]This figure shows the declaration of two wide characters in the Process Window. The Expression List Window shows how TotalView displays their data. The L in the data indicates that TotalView is displaying a wide literal.
[/url]If the wide character uses from 9 to 16 bits, TotalView displays the character using the following universal-character code representation:
[/url] \uXXXX
[/url]X represents a hexadecimal digit. If the character uses from 17 to 32 bits, TotalView uses the following representation: