fix C++/Java build regressions, added WString::setDefaultEncoding()
Merge commit 'github/master'
minified that