Revert "Revert "JSON char > 127 codepage problem""

This reverts commit 91397851a10739350339743d89467cfa5a38fc24.
Merge pull request #1049 from Joern-R/master

JSON char > 127 codepage problem (Issue #1028)