[COMMIT] Correct some partial character accounting, buffered_bytecount_to_charcount().