Page 1 of 1

Unknown characters encountered when saving File.

Posted: Tue Jan 22, 2008 6:38 am
by faisy_master
Hello,

I have this strange problem when writing the data (a paragraph) in the file.

It is all fine till when I save it.

When I open it to view, it has following characters changed into some alienated characters.
  • " (Apostropge)
  • ' (Single Apostrophe)
  • - (Dash or Hyphen)
Now these characters in all the paragraph change into some stupid unreadable characters.

Any help please ! :oops:

Re: Unknown characters encountered when saving File.

Posted: Tue Jan 22, 2008 11:56 am
by kaszu
I guess these symbols in paragraph are not " ' and -, but ones from here http://htmlhelp.com/reference/html40/en ... ecial.html.
Webpage has an encoding (like utf-8), but when this paragraph is saved into a file, this file doesn't have an encoding specified, that's why they look wierd.
If you open the file with some editor, which supports encoding changing (not sure how it's called) and you will have a look at that file in encoding utf8 (or whatever it was on your website), then they will look ok.

Anyway if you will output this file to the page with the same encoding, which was in the beginning, then they will look normal.