- Fix empty input with auto-detected charset