fix wide printf continuation after output or encoding errors