[#BloombergLP-bdljsn-Tokenizer-setAllowNonUtf8StringLiterals] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Tokenizer.adoc[Tokenizer]::setAllowNonUtf8StringLiterals :relfileprefix: ../../../ :mrdocs: Set the `allowNonUtf8StringLiterals` option to the specified `value` and return a non‐`const` reference to this tokenizer. If the `allowNonUtf8StringLiterals` value is `false` this tokenizer will check string literal tokens for invalid UTF‐8, enter an error mode if it encounters a string literal token that has any content that is not UTF‐8, and fail to advance to subsequent tokens until `reset` is called. By default, the value of the `allowNonUtf8StringLiterals` option is `true`. The behavior is undefined unless `e_RELAXED == conformanceMode()`. == Synopsis Declared in `<bdljsn_tokenizer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/Tokenizer.adoc[Tokenizer]& setAllowNonUtf8StringLiterals(bool value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#