title: "Some unicode characters can't be saved in the current codepage" using Cyrillic in C
body: <p>I am struggling to make the text in my program appear in Bulgarian using Cyrillic. </p>
  
  <p>I have tried <code>'SetConsoleOutputCP(1251)'</code> as well as <code>'SetConsoleCP(1251)'</code>, but neither of them worked.  I am using VS2018 and the file is saved as <code>file.c</code>.  When trying to compile the warning appears:</p>
  
  <pre><code>"Some unicode characters can't be saved in the current codepage."
  </code></pre>
  
  <p>Code</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  #include&lt;stdlib.h&gt;
  #include&lt;Windows.h&gt;
  #include&lt;string.h&gt;
  
  SetConsoleOutputCP(1251)
  int i;
  
  int main() {
    i=choice();
    printf("%d\n",i);
    system("pause");
    return 0;
  }
  
  int choice(void) {
    printf("избор\n");
    printf("1.четене от файл и запис\n");
    printf("2.четене и извеждане на резултата\n");
    printf("3.четене от клавиатура и запис\n");
    printf("4.четене от клавиатура и извеждане\n ");
    printf("5.изход\n");
  
    do {
      scanf_s("%d",&amp;i);
    } while (i &lt; 1 || i &gt; 5);
    return i;
  }
  </code></pre>