title: UTF-8 in Qt Creator on Linux
body: <p>I have a problem with Qt Creator in Linux.
  While I am using 2 languages (English + Persian) for my program, I need to switch between them, but there is a problem in Qt Creator, and it is just when I am using it to code in Linux (Qt Creator in Windows works fine).</p>
  
  <p>Switching the keyboard input does not work while I am coding in Qt ,the icon in my menu bar will change to "FA" from "EN" and the other way around but Qt keeps using the keyboard input from when I opened Qt.</p>
  
  <p>For example when I open Qt while my keyboard input (in menu bar) is set to "FA" , Qt only gets Persian chars even when the keyboard input is set to "EN" later when Qt is already open and when i open Qt while my keyboard input is set on EN, Qt only and only gets EN chars and will not change by my switching </p>
  
  <p>So basically I have to open and close Qt every time i want to switch keyboard input , or I just have to write my Persian strings in g-edit and then copy them to my code in Qt</p>
  
  <p>I did take a look in "default-encoding" in "options" and changed the "System" to "UTF-8" then clicked on OK (No errors), but it did not make any difference and every time I return to option, I see the encoding is set to "System" again, it looks like Qt is rejecting (this does not happen when I set the "default-encoding" to UTF-16 or 32 or ... )</p>
  
  <p>I am sure that the proper keyboard inputs are installed correctly because it works in Firefox or g-edit, I don't have this problem in Qt Creator on Windows, just on Linux</p>