The BSON serializer WriteCString() bug with wide unicode chars
Closed this issue · 2 comments
itadapter commented
[System.ArgumentException] The output byte buffer is too small to contain the encoded data, encoding 'Unicode (UTF-8)' fallback 'System.Text.EncoderReplacementFallback'.
from BSON.BinUtils.WriteCSTring(stream, value)
itadapter commented
Created NFX.NUnit.Serialization.WriteReadLongStringOfLongChars() -
it fails with chinese '久'