Hi, my uKeil 4 does not eat russian comms. How can I fix this?
Apparently, he means comments in Russian. I hear, recent versions of uVision have problems with Cyrillic fonts.
I have to agree: those commies are tough to chew on, and hard on your stomach too :)
not only for my stomach. 8) The problem is that I can't write commentaries in Russian. And I don know how to fix it. For this reason I'm to write commies in transliteration. This makes my friends mad. :(
"does not eat" =[means]="it can't understand me". He's just writing it like abrakadabra. Sorry for my slang.
For this reason I'm to write commies in transliteration. This makes my friends mad
evidently your friends are members of the communist party
It's bad if the editor doesn't correctly support the full character set in comments.
But maybe you should consider doing what a large part of all developers in this world is doing - write the comments in English. What if Linus Torvalds had written all his documentation and comments in Finnish? Wouldn't that have seriously affected the spread of Linux?
And what if you mix your code with some code you download from the net - doesn't it look silly when you have different code blocks with comments in different languages?
But it's not just in the comments - russian letters are also required 'LCD_PrintString ("russian_text"); And it does not work :(
But what character set is the display using? And what character set is the editor using? And is there really an issue with the compiler, or with the expectations about what character set that is active?
The normal way to handle "any" character in a text file is to use some encoding variant of Unicode - most often UTF-8. But how many displays can actually use UTF-8?
If I want to display swedish characters on a display, I normally have to specifically give the hexadecimal value of these characters because I just can't expect my editor to have a code mapping that is identical to the display.
Encoding win1251. Possible get round this problem in different ways.(Use UTF-8, use copy/paste from external editor, use copy/paste from 'Find..', hack UvEdit.dll) But earlier (UV3, and the first versions of UV4) all worked, but now does not work.
I write comments in russian and have none problems with it. The only problem is that uVision by default uses not win1251 codepage, so you'll have troubles reading it in external viewers. Also if you want to change uVision codepage to default cirillic 1251, you can find a solution by googling keywords "uvision" and "kodirovka".