title: How should I setup MATLAB for correct display of Russian (Cyrillic) characters on figures in Linux?
body: <p>I have installed MATLAB R2008b on Ubuntu 12.04.4 LTS and Windows XP.
  The system locale in Ubuntu is Unicode - en_US.UTF-8.</p>
  
  <p>For compatibility with Windows I launch MATLAB in Ubuntu with ru_RU.CP1251 locale - so I have simple script to launch MATLAB:</p>
  
  <pre><code> cat /opt/MATLAB_R2008b/bin/matlab-run
   #!/bin/bash
   export LANG="ru_RU.CP1251";
   export LC_ALL="ru_RU.CP1251";
   /opt/MATLAB_R2008b/bin/matlab -desktop
  </code></pre>
  
  <p>After that <strong>slCharacterEncoding</strong> and <strong>feature('DefaultCharacterSet')</strong> returns desired windows-1251 as expected.</p>
  
  <p>There are many fonts in my system, almost all support Russian (Cyrillic) glyphs.
  Russian text displays normally in <strong>uicontrol</strong> (see screenshot <img src="https://i.stack.imgur.com/kM3G7.png" alt="enter image description here"> )</p>
  
  <pre><code>uicontrol('String','Русский=Russian','Position',[0 0 200 200])
  </code></pre>
  
  <p>but does not in figure labels and title, so </p>
  
  <pre><code> x = linspace(0,2*pi,100); y = sin(x);
   xlabel('x, в радианах','interpreter','none');
   ylabel('y, значение sin(x)','interpreter','none');
   title('y, значение sin(x)','interpreter','none');
  </code></pre>
  
  <p>produce wrong characters in labels and title <img src="https://i.stack.imgur.com/CVkh1.png" alt="see screenshot">.</p>
  
  <p>I have no idea how to fix this. 
  How should I setup MATLAB for correct display of Russian (Cyrillic) characters on figures in Linux? </p>