setUseUnicodeEncoding

Specify whether to emit non-ASCII printable Unicode characters (emit Unicode char or escape sequence starting with '\\u') The default value is true. When set to false then printable non-ASCII characters (Cyrillic, Chinese etc) will be not printed but escaped (to support ASCII terminals)

Return

the builder with the provided value

Parameters

useUnicodeEncoding
  • true to use Unicode for "Я", false to use "\u0427" for the same char (if useUnicodeEncoding is false then all non-ASCII characters are escaped)