Page 1 of 1

a bug?

Posted: Wed May 23, 2007 8:02 pm
by lupin1984
when i open some utf-16 txt files

it tell me that "the file is a binary file,continue?",then i click yes,it is mess-up

for example in my computer it display the codepage is 936 (ansi/oem -简体中文 GBK) :( but you can redetect,and it can display correctly

the NotePad can differentiate the codepage :(

Posted: Thu May 24, 2007 3:35 am
by Instructor
[Deleted]

I will think about this

Posted: Sat May 26, 2007 2:06 pm
by Instructor
lupin1984
Can you send one of those files on my email?

Posted: Sun May 27, 2007 1:13 pm
by lupin1984
you can establish a utf-16 txt file by notepad ,then you can see the error

Posted: Sun May 27, 2007 1:49 pm
by Instructor
I repeat. I see the problem, but I need to see one of YOUR files. Can you send on my email?

Posted: Mon May 28, 2007 11:41 am
by lupin1984
ok,i have send the files to your email

Posted: Mon May 28, 2007 12:57 pm
by Instructor
Got it, thanks

Posted: Tue May 29, 2007 2:47 pm
by Instructor

Posted: Wed May 30, 2007 8:24 am
by lupin1984
thanks,the bug had be fixed :)

other two bugs:

1.there is another bug about the highlight plugin,

when the font is "宋体" and other chinese fonts,there is shadow over the characters.

2.when you turn on "wrap words" ,if the line is too long to display,when you type space before the line,the line will be displayed on an new line ?and the cursor don't follow the space

when the character is english the notepad have this problem
,but if the character is chinese or other east aisa characters,it display correctly !

i have send the font and picture to your email :)

Posted: Fri Jun 08, 2007 1:18 pm
by Instructor
1. This is EM_POSFROMCHAR RichEdit 3.0 bug. With RichEdit 2.0 is OK.
2. This is RichEdit behaviour (you can experiment with WordPad).