Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Incorrect characters in Spell Check suggestions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

talamar
Junior Member

Russia
15 Posts

Posted - Jan 17 2011 :  5:23:14 PM  Show Profile  Reply with Quote
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

Posted - Jan 19 2011 :  5:29:48 PM  Show Profile  Reply with Quote
What file did you download?

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

Did you turn on the following option?

Windows Control Panel -> Regional and Language Options -> Advanced (tab) -> Russian (combobox)

Can you please send me a file with an example comment that causes some words to be underlined and produces the wrong suggestions?

You can send the file via the form:
http://www.wholetomato.com/support/contact.asp

Please include the URL of this topic in the description field so we can match it up.

I got different results, and first of all, trying to do exactly the same thing as you :)

Edited by - accord on Jan 19 2011 5:41:57 PM
Go to Top of Page

talamar
Junior Member

Russia
15 Posts

Posted - Jan 20 2011 :  8:11:17 PM  Show Profile  Reply with Quote
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
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 21 2011 :  2:38:44 PM  Show Profile  Reply with Quote
It is set to English (United States). Does it matter? Why Canada? :)

Edited by - accord on Jan 21 2011 2:38:58 PM
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 21 2011 :  4:41:30 PM  Show Profile  Reply with Quote
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
Go to Top of Page

talamar
Junior Member

Russia
15 Posts

Posted - Jan 21 2011 :  10:32:28 PM  Show Profile  Reply with Quote
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
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 24 2011 :  10:56:44 AM  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000