.enable_unicode (Enable Unicode Display)
The .enable_unicode command specifies whether the debugger displays USHORT pointers and arrays as Unicode strings.
.enable_unicode 0
.enable_unicode 1
Parameters
0
Displays all 16-bit (USHORT) arrays and pointers as short integers. This is the default behavior of the debugger.
1
Displays all 16-bit (USHORT) arrays and pointers as Unicode strings.
Environment
Item | Description |
---|---|
Modes | User mode, kernel mode |
Targets | Live, crash dump |
Platforms | All |
Remarks
The .enable_unicode command affects the output of the dt (Display Type) command.
In WinDbg, the .enable_unicode command also affects the display in the Locals window and the Watch window. These windows are automatically updated after you issue .enable_unicode.
You can also select or clear Display 16-bit values as Unicode on the shortcut menu of the Locals or Watch window to specify the display for USHORT arrays and pointers.