kellyethridge / VBCorLib

The VBCorLib framework brings many of the powerful .NET classes to VB6.
http://www.kellyethridge.com/vbcorlib/
MIT License
112 stars 28 forks source link

Encodings GetMaxByteCount/GetMaxCharCount should take fallback size in to consideration #75

Closed kellyethridge closed 3 years ago

kellyethridge commented 3 years ago

With the addition of fallbacks, the Encodings should take number of fallback characters in to consideration when calculating the maximum byte or char counts. Right now the original (pre-fallback) method is still being used which could under-represent the max count size.