19374e7054
This fixes an issue where outputting large amounts of Chinese text caused the 4096-byte chunk to split a multi-byte UTF-8 character, falsely triggering the GBK fallback logic and resulting in garbled text.