fix: converting ANSI to UTF-8 when showing a textbox