Ruby gem install or update fail because of windows locale

When trying to install or update gem got this message Found out that my Windows PC is using different locale rather than English. Fix by change the codepage to Unicode