Correct handeling of UTF8 chars