Extend support for "set encoding locale" on Windows.