Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Incorrect characters in Spell Check suggestions

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
talamar 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.
6   L A T E S T    R E P L I E S    (Newest First)
accord 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
talamar 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"?

accord 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:


accord Posted - Jan 21 2011 : 2:38:44 PM
It is set to English (United States). Does it matter? Why Canada? :)
talamar 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. :)



accord Posted - Jan 19 2011 : 5:29:48 PM
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 :)

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000