Posted By: ViscountPherget | Oct 9th, 2005 @ 4:59 AM
page 1 of 1
Comments: 11 | Views: 2462
I think I found a bug in the Edit control that is e.g. used by Notepad. To reproduce the bug do the following: 1. Create a new .txt file 2. Open it with Notepad 3. Write "aaaaaaaa aaaaa aaa aaaaa" without the quotes (other letter combinations also work but not all) 4. Close and save the file 5. Open the file again with Notepad Now you should see squares instead of letters. Maybe you can pass the bug to the responsible developer. Smiley
It seems to work - it's really strange Perplexed
W3bbo
W3bbo
The Master of Baiters
I can verify this as well
Yep, I can repro that on XP SP2 and 2003 SP1. Isn't it amazing how bugs like this can lay dormant for so long in frequently-used software like notepad!
It would appear that an even number of letters followed by two groups of an odd number of letters seems to reproduce the problem. So, for example, this is also a problem: "qq qqq qqq".

Notepad seems to treat it as unicode.

I see chinese characters when opening up "aa aaaaa aaaaa", but I know I have that character set installed.

Wordpad opens it fine.

If you save it as unicode, instead of ansi, the correct data is retained.
footballism
footballism
Another Paradigm Shift!
I can verify this potential bug too, could any body here explain the reason behind it? From the very begining when I saw this thread, I just thought it might be the text encoding problem, but after my close examination, it's not:(

Sheva
I have Tablet PC Editition 2005 and the bug works there too.

Of interesting note, I created the string in notepad and then opened the file up in Textpad and there was no issue. I also created the string in Textpad and opened in notepad and the squares come up again. So it looks like it doesn't have anything to do with the saving process in notepad.
DoomBringer
DoomBringer
Doom!
OMG!11
dude, you're right!
LCARS
LCARS
Hello World!!
Yup, I get:

"慡慡慡慡愠慡慡愠慡愠慡慡"

Wierd!
As always, Raymond Chen can tell you why this is

Smiley
page 1 of 1
Comments: 11 | Views: 2462
Microsoft Communities