add locale set functions & set gbk as windows locales