14

Windows localization has a dialog that that set a locale for all applications that do not support Unicode, it looks something like this on xp similar on other flavors of windows:

Is there a way to specify this per app as apposed to globally for the entire os. Say I have 2 different ansi apps i want to run one in Russian and one in Chinese on the same machine, is that possible?

Dmitry
  • 1,513
  • 1
  • 15
  • 33

3 Answers3

12

There's a free and open-source utility called Locale Emulator that can run other apps with a locale (code page) of your choice, other than the system default.

As of this writing, Locale Emulator claims to be compatible with Windows 10 version 1803 (which is the latest version of Windows).

Locale Emulator can even integrate with Windows shell

Reinstate Monica
  • 588
  • 7
  • 21
  • This is easy and intuitive to use. It's mostly used for Japanese games but if one wants to launch an app in a different language, they'll simply need to choose "Run with Application Profile" – xji Jul 05 '18 at 01:26
  • 3
    For those interested how it works, probably it is here https://github.com/xupefei/Locale-Emulator-Core/blob/master/LocaleEmulator/LocaleEmulator.cpp – max630 Nov 06 '18 at 15:22
  • And no way to contact the project maintainer that I can see. (•_•) – Kit Johnson Sep 02 '19 at 10:29
  • Unfortunately, it does change locale, but not the codepage – chersun Aug 15 '22 at 08:55
6

Microsoft once provided a freeware called Microsoft AppLocale. It allows executing apps with a different locale than the system's default. After setting up, you'll get a shortcut that runs your app via AppLocale.

There are two problems, however:

  1. AppLocale is no longer supported and its download page is no longer available. You can download it from Softpedia though. I checked its digital certificate; Softpedia has not tampered with it.
  2. Its installer may end with an error on Windows Vista and later. To install it successfully, you must open PowerShell (or Command Prompt) with administrative privileges, navigate to the folder containing apploc.msi and run it from there. (Credit for discovering this goes to TechJourney.)
Maximus
  • 10,751
  • 8
  • 47
  • 65
  • 1
    Just set everything up with it, this is really helpful thanks Maxumus Check out this post if you want to run it in an automated(batched) way http://opcode0x90.wordpress.com/2008/01/09/patch-for-applocale/ – Dmitry Feb 03 '13 at 05:14
  • Worked perfectly (to have Mp3tag read 8 bit encoded MP3 files in codepage 1251 rather than my OS setting 1252). - When on Vista and upwards, remember to explicitly install as Admin. – Lumi May 16 '15 at 20:55
  • The link is no longer available except on the Wayback Machine: https://web.archive.org/web/20150201002022/http://www.microsoft.com/en-us/download/details.aspx?id=2043 – snips-n-snails Sep 07 '17 at 21:21
0

The Microsoft AppLocale utility isn't compatible with Windows 10, in which case you can reach the same codepage default settings for non-UTF-8 applications as follows;

  1. Start > Settings > Time & Language
  2. Region & language
  3. Related settings > Additional date, time & region settings
  4. Region > Change location
  5. Administrative tab
  6. Language for non-Unicode programs > Change system locale...
  7. Select your locale and then click OK, you will then need to restart

Apologies for the instructions going the long way around, but I figured if Micros, you should still bump in to the right settings

Ian Guerit
  • 37
  • 1