I do not know why ISO is used as the only encoding standard. It might be inherited from some legacy code.
I fixed it to use a default set. It is usually ASCII and UTF.
@sebboettg Can you please review it when you have time?
UPD: I reverted my previous code and fixed it in the different way and added a test.
I do not know why ISO is used as the only encoding standard. It might be inherited from some legacy code. I fixed it to use a default set. It is usually ASCII and UTF.
@sebboettg Can you please review it when you have time?
UPD: I reverted my previous code and fixed it in the different way and added a test.