[win32] fix ANSI used as UTF-8

First commit fix log and GUI strings.
Second commit fix log and fix potential bug when some incompatible locales settings (System/User/XBMC).