Thanks both for replying. I have firefox 3.5.6 for sure.
I have diagnosed the problem further. Please try this:
(Assuming konsole xterm in KDE, this is copied from what I did
[13:52 ~]$ mkdir ~/ffbug
[13:52 ~]$ cd ~/ffbug
[13:52 ~/ffbug]$ cat<<'EOF'>problem_title.html
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> <title>This title’s first apostrophe's encoding may a problem</title>
> </head>
> <body>
>
> <h1>This title’s first apostrophe's encoding may a problem</h1>
> That was encoded as<br>"This title&#8217;s first apostrophe's encoding may a problem"
>
> </body></html>
> EOF
[13:53 ~/ffbug]$ ls -l
total 4
-rw-r--r-- 1 bokr users 355 2010-01-03 13:53 problem_title.html
[13:54 ~/ffbug]$ # note final slash below. Now going to firefox and do a saveas into this directory
[13:55 ~/ffbug]$ firefox problem_title.html/ &
[2] 17581
[13:56 ~/ffbug]$
[2]- Done firefox problem_title.html/
[13:57 ~/ffbug]$ # note what we got:
[13:58 ~/ffbug]$ ls -ltr
total 8
-rw-r--r-- 1 bokr users 355 2010-01-03 13:53 problem_title.html
-rw-r--r-- 1 bokr users 355 2010-01-03 13:56 This\ title\031s\ first\ apostrophe's\ encoding\ may\ a\ problem.html
[13:58 ~/ffbug]$ # you see the \031, and if you go back to firefox and strip back the location to the directory
[13:59 ~/ffbug]$ # and try to display that, you will get the XML Parsing Error.
[14:00 ~/ffbug]$ # So I'd say this is a real world problem. Apparently the save-as feature doesn't recognize
[14:00 ~/ffbug]$ # the utf-8 encoding when it uses the title as a file name (which it will apparently do
[14:01 ~/ffbug]$ # if it finds nothing after the last slash of the URL to use as file name.
[14:02 ~/ffbug]$
I haven't put this on mozilla yet, but this makes reproducible locally what happened
to me with a site on the net that had ’ (&#8217
in its title. Note the second apostrophe
gets handled properly.