Fix issues #8033

Change windows codepage to UTF-8, optimize multi-language support.