Qt Creator in Ubuntu: Russian(Unicode) text in text editor
-
wrote on 20 Nov 2013, 05:54 last edited by
I cant use russian text in qt Creator and qt designer in Ubuntu.
I write in Russian, got text in English.
I have to write code in Qt and copy russian comments from standard text editor.
!http://cs537402.vk.me/u18226111/docs/7cb00ba85938/Snimok_ekrana_ot_2013-11-19_23_49_16.png?extra=Xi4Ng0CWGfFndL6lN7OSjccD-cuCyX4nCQeb8YIP3mV9jSz4aQzmdhigvUGWPKB3DSawDeuxUQ9JYUzV-AHG5ait8m_s_7cT(Problem)! -
wrote on 20 Nov 2013, 07:30 last edited by
Hi,
The default encoding is set to UTF-8, so no Russian text possible. In the options menu go the the Text Editor and then the Behavior tab. There you are able to change the encoding settings. Take the one with Russian and you should be able to type Russian.Greetz
-
wrote on 20 Nov 2013, 08:11 last edited by
Which encoding may use russian?
[quote author="Jeroentje@home" date="1384932649"]Hi,
The default encoding is set to UTF-8, so no Russian text possible. In the options menu go the the Text Editor and then the Behavior tab. There you are able to change the encoding settings. Take the one with Russian and you should be able to type Russian.Greetz[/quote]
-
wrote on 20 Nov 2013, 11:06 last edited by
UTF-16 is able to contain Cyrillic text
-
wrote on 21 Nov 2013, 12:17 last edited by
... so is UTF-8 and UTF-32. All these are just different encodings of unicode, so they represent the same glyphs in different ways.
UTF-8 is perfectly fine for russian text -- and basically any text in any language commonly used on computers!
-
wrote on 21 Nov 2013, 13:46 last edited by
[quote author="Tobias Hunger" date="1385036227"]... so is UTF-8 and UTF-32. All these are just different encodings of unicode, so they represent the same glyphs in different ways.
UTF-8 is perfectly fine for russian text -- and basically any text in any language commonly used on computers![/quote]
I tried to use UTF-8, 16, 32 and many other.
The problem is not in the encoding
1/6