On some encodings, especially UTF8, we can make a better size estimation than simply doubling.
On some encodings, especially UTF8, we can make a better size estimation than simply doubling.