Created attachment 1360
bugfix, public domain
std.encoding EncodingSchemeUtf16Native and EncodingSchemeUtf32Native decode() and SafeDecode() are wrong at stripping decoded symbols. they should take wchar/dchar sizes into account when stripping decoded bytes from input buffer.
fix attached.
Comment #2 by safety0ff.bugz — 2014-06-14T19:10:26Z
Could create a pull request?
Pull requests help in reviewing and receiving feedback as well as verification of the patch. Ultimately your issue will be resolve quicker.
Comment #3 by ketmar — 2014-06-14T19:34:34Z
sorry, i have no github account and not planning to get one in nearest millenia. if this bugzilla is "second place citizen", it should be removed altogether i believe.