Support for using DOCS to switch to and from UTF-8 mode.