Converting VBScript's SetLocale Function
Definition: Sets the global locale and returns the previous locale.
To be honest, we didn’t put much effort into this one; after all, SetLocale works only in Web pages and Windows PowerShell is not designed for use in Web pages. So we let this one slide.