I just found something strange; When I open a textfile in PsPad and (with or
without changing) save it back, There are always 3 hidden hexbytes (EF BB
BF)added to the beginning of the file.
I've had a big problem with that when I tried to change something in a
.htaccess-file of my forum.
I opened the file
added some text
saved it back

My forum gave an error (500) and didn't work anymore.
So I thought I was making a mistake and opened again the same file and brought
the text back to original and saved again.
My forum still didn't work!!
I could only correct the error by putting back the original .htaccess from my
backup.

After a while I discovered that PsPad added some hex-bytes.
When I, this time with a hexeditor, removed these three bytes of PsPad and saved
it. Everything worked again.

Did anybody had the same experience?

Here is an example of a little test.

I saved a file wich only contained the text: "Test".
After saving I looked with a hexeditor and got this:

00000000:EF BB BF 54 65 73 74    |                       
|

Odpovedet emailem