Skip to content

Instantly share code, notes, and snippets.

@mariohuq
Created December 11, 2021 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariohuq/7f68b69579af30cb4155e0ba65866650 to your computer and use it in GitHub Desktop.
Save mariohuq/7f68b69579af30cb4155e0ba65866650 to your computer and use it in GitHub Desktop.
Fixes `Open File` from Solution Explorer, which opens files in UTF-8

How to set standard encoding in Visual Studio to CodePage 1251 Cyrillic (Windows)

  1. Press Win + R

  2. Enter control intl.cpl,,1

  3. Press Enter

  4. Click Change systen locale...

    Region/Administrative

  5. Select Current system locale: Russian (Russia)

    Region settings

  6. Click OK

source: How to set standard encoding in Visual Studio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment