Native/polyfill TextDecoders throw differently.

Use the more descriptive message.
Fixed Jed not defined.
Added testing of non-UTF-8 encoding support.
Merge branch 'windows-1251'