change output encode from ansi to unicode