Unicode support and backspace handling