Handle Windows locale format

For example, `"Japanese_Japan.932"`.
Merge branch 'windows-locale-fmt'