Author |
Topic |
|
fwid
Junior Member
22 Posts |
Posted - Mar 28 2005 : 10:15:33 PM
|
Another eastern language issue.
When there are Chinese comments in the file, finding previous does not work properly.
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Mar 29 2005 : 2:16:56 PM
|
which IDE and version of VA are you using?
can you post some text that will copy and paste as Chinese comments, assuming i have installed Chinese on my test machine? i have never worked out how to enter Chinese with my English keyboard. |
zen is the art of being at one with the two'ness |
|
|
fwid
Junior Member
22 Posts |
Posted - Mar 29 2005 : 10:33:20 PM
|
oh, VC6 + VAX build from 1287~1299 I'm not very sure those build before 1297. I seldom use this function.
most of time, it will popup messagebox as --------------------------- Visual Assist X --------------------------- Cannot find the string 'flag'. --------------------------- OK ---------------------------
I hope you can copy & paste following words. I think browser encoding should have GB2312 //+?+?+?+?+?-+-++?-?+?+?+? |
Edited by - fwid on Mar 30 2005 01:01:35 AM |
|
|
fwid
Junior Member
22 Posts |
Posted - Mar 30 2005 : 01:16:59 AM
|
here is a simple example
//comment 0
int main()
{
int test;
test = 0;
//comment 1
test = ~test;
//comment 2
return test;
}
if only comment_2 has Chinese words, finding previous by "test" will circle among green & blue parts; if comment_1 has, then circle among green part. most of time, we have a file header with simple description, so comment_0 has Chinese words, so --------------------------- Visual Assist X --------------------------- Cannot find the string 'test'. --------------------------- OK --------------------------- appear |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Mar 30 2005 : 3:27:58 PM
|
*sigh* using firefox 1.0.2 when i swap the character encoding to GB2312 your first sample comment shows all of the Chinese characters as question marks.
i have setup Simplified Chinese on win2k running under VMWare, so i am coping the comment via my English winXP into my Chinese enabled win2k, which may not help *rolls eyes*
when i have the input local set to CH how can i type Chinese characters into a comment in .NET 2003? i presume it is easy, but so far i cannot see how to do this. is it even possible with a English keyboard?
once i get this working somewhere i will repeat the tests in VC6. |
zen is the art of being at one with the two'ness |
|
|
fwid
Junior Member
22 Posts |
Posted - Mar 31 2005 : 01:19:23 AM
|
There is no Chinese Fonts on your english XP? You should install East Asian Language at rigional settings -> language. And when copy Chinese words if they display correctly, your IME should switch to "Chinese(PRC) - US Keyboard" at least which display as "CH", or it will result in question marks and so on.
Use a Chinese IME to input Chinese, at rigional settings -> language -> details or install one: http://download.microsoft.com/download/4/e/9/4e9141b2-50af-4945-8e55-5fcb26f5c46e/MSPY.msi |
Edited by - fwid on Mar 31 2005 01:23:29 AM |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Apr 01 2005 : 2:20:41 PM
|
i got there in the end
case=550
i don't have Chinese installed on my main machine, since installing it does unpleasant things to the fonts in .NET 2003, plus i cannot reach Chinese. i was able to copy some Chinese text from the properties of the installer you suggested, and this works.
for me find next by context is not effected by Chinese comments, so workaround for now is to only use find next by context. |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|