Fix issue 12923

UTF exception in stride even though passes validate.
The root cause is that decode has very lax checking of the first
code unit.
Merge pull request #2376 from DmitryOlshansky/issue-12923

Fix issue 12923