assumeUTF from idea of issue10162

format whitespace

doc unittest

assumeUTF with const immu

validate in debug mode

whitespace

wrong attributes
Merge pull request #2341 from burner/issue10162

Fix #10162: assumeUTF from idea