buffer: correctly lossy-convert to ascii