(BODY to IBM937): Correct several mistakes in buffer and table handling.