Tab management & UTF-8 encoding