Author |
Topic |
|
talamar
Junior Member
Russia
15 Posts |
Posted - Jan 17 2011 : 5:23:14 PM
|
I have problem with incorrect characters shown in spelling suggestions in Visual Studio popup menu. For instance, I enter comments in Russian and make a spelling error. Visual Assist underlines this word. Then if make a right click on this word the popup menu is shown which has a section where several suggestions are listed. These suggestions are shown using incorrect characters:
Along with that, if I select menu item "More suggestions..." Visual Assist opens a window where same suggestions are shown correctly.
Any ideas how to fix it? Thanks.
P.S. WinXP Pro SP3 Eng. Visual Studio 2008 SP1 Eng. VA X build 1837. Russian spelling dictionary is installed as required for Visual Assist and works fine.
|
Edited by - talamar on Jan 17 2011 7:53:00 PM |
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
|
talamar
Junior Member
Russia
15 Posts |
Posted - Jan 20 2011 : 8:11:17 PM
|
accord
quote:
Did you download the following file http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/ru_RU.zip from this page? http://wiki.services.openoffice.org/wiki/Dictionaries
Yes, I did. BTW, this dictionary does not work right from a box because its encoding is KOI8-R while Visual Assist needs CP1251 dictionary encoding for proper check spelling within the VS 2008 environment. So I recoded the dictionary and as I already wrote the spell check itself works fine for Russian words.
quote: Did you turn on the following option?
Yes, I did.
quote: I got different results ...
While testing this issue, what location was selected on your machine in Windows Control Panel -> Regional and Language Options -> Regional Options tab -> Location (combobox)? Select Canada as location, for instance. :)
|
Edited by - talamar on Jan 20 2011 8:21:57 PM |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Jan 21 2011 : 2:38:44 PM
|
It is set to English (United States). Does it matter? Why Canada? :) |
Edited by - accord on Jan 21 2011 2:38:58 PM |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Jan 21 2011 : 4:41:30 PM
|
Unfortunately, I still get different results. I used this program to convert the codepage:
http://sourceforge.net/projects/cp-converter/
from "Cyrillic (KOI8-R) - 20866" to "Cyrillic (Windows) - 1251"
but still no luck... What program did you use? I tried these random words from the Russian Wikipedia:
|
Edited by - accord on Jan 21 2011 4:47:39 PM |
|
|
talamar
Junior Member
Russia
15 Posts |
Posted - Jan 21 2011 : 10:32:28 PM
|
accord I used Notepad++ for dictionary encoding conversion. A way to change the text file encoding was suggested to me here (in Russian): http://forumooo.ru/index.php/topic,409.0.html. As to dictionary files, the code page conversion involves at least two stages: 1) re-encode the .dic and .aff files from KOI8-R to CP1251; 2) change the encoding identifier string in .aff file to "CP1251".
On my machine I just opened the original downloaded .dic and .aff files (KOI8-R encoded) in Notepad++ and did the following for each of them: 1) Encoding -> Character sets -> Cyrillic -> KOI8-R; 2) Encoding -> Convert to UTF-8; 3) Encoding -> Convert to ANSI; 4) File -> Save. So both files get CP1251 encoded. Then using Notepad++ again I changed the first line of .aff file from "SET KOI8-R" to "SET CP1251". For reference, the dictionary I currently use may be downloaded from here: http://rapidshare.com/files/443862637/RussianDictionary.rar
I'm sorry, not "Location" option, of course. :) I meant the option: Regional and Language Options -> Regional Options -> Standards and Formats. At my machine the only way to get the suggestions correctly displayed in VS menu is to set this option to "Russian". But now I live outside of Russia and need MS Windows to have settings, which correspond to local standards.
So, actually, the question is: how to get Russian suggestions displayed correctly in VS menu while the Windows option "Standards and Formats" is set not to "Russian"?
|
Edited by - talamar on Jan 26 2011 3:49:50 PM |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Jan 24 2011 : 10:56:44 AM
|
Finally, I am seeing the very same effects here. Thank you for taking the time to write the elaborate description and thanks for the prepared file.
case=54431 |
Edited by - accord on Jan 24 2011 11:00:04 AM |
|
|
|
Topic |
|