Closed Bug 277940 Opened 20 years ago Closed 20 years ago

MS-Word web preview HTML displays special chars wrong in Moz

Categories

(SeaMonkey :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 237712

People

(Reporter: benjamingslade+mozilla, Unassigned)

References

()

Details

Attachments

(3 files)

In MS-Word 2004 on Mac OS X 10.3.7, when I run the File->Web Page Preview
function, it displays a web page where special characters (eg. apostrophe) are
screwed up.   Specifically an apostrophe is displayed as an uppercase O ("oh")
with a dash over it (I'll attach screen snapshots to this bug).  Also, opening 
and closing double quotes display wrong, and some other bullet related characters  

This occurs for me with Moz 1.7.5 and Moz 1.8a5. I'm betting the problem has
something to do with MS-Word's use of the "macintosh" as the value for "charset"

The workaround is to open the file in MS-Internet Explorer or Apple's Safari on
Mac, display the source code for the web page, copy the source code, open
Mozilla's Composer (HTML editor), go to the "<HTML> Source" tab, paste in the
HTML source, then save as a new HTML file.   The new HTML file will then display
properly in Mozilla.
I don't understand the receipe?

Is this a bug report against Composer? Against MS Office for Mac OS X?

Are you claiming that MS Office Moronises corectly enocded text?

I think that you are right to finger the charset. Is it set to Macroman?
If so where. Are you sending Macroman and interpereting it as ISO-8859-1?

<drumroll />
What has this to do with the Mozilla Application Suite?

Assume for the moment that I am willing to do anything as instructed by
you to help resolve this report, but not run MS Office or MSIE, what is 
the first step?
Ben Fowler wrote:
> Is this a bug report against Composer? Against MS Office for Mac OS X?

It's against the Mozilla browser for not displaying a file properly.

> Are you claiming that MS Office Moronises corectly enocded text?

Possibly, Apple's Safari and Microsoft's IE browsers display it properly.

> I think that you are right to finger the charset. Is it set to Macroman?
> If so where. Are you sending Macroman and interpereting it as ISO-8859-1?

In the web page referred to by this bug, the source HTML says
"charset=macintosh".  I don't know what this is, but I suspect it's some older
character set that Mozilla isn't handling properly.   Note that the characters
in the source are *not* IS-8859-1 (aka Latin), but the other browsers seem to
handle it.

I don't like Microsoft very much, but if "charset=macintosh" is a legal/standard
declaration and Moz isn't properly handling that charset, it would help Moz if
it got fixed.

>Assume for the moment that I am willing to do anything as instructed by
>you to help resolve this report, but not run MS Office or MSIE, what is 
>the first step?

Look at the http://www.benslade.com/misc/BadMacintoshCharset.html file I've
posted online, and ask somebody who knows if Moz should handle charset=macintosh.

Other relevant web page might be (search down for lowercase "macintosh"):
* http://www.math.utah.edu/docs/info/recode_3.html
* http://www.iana.org/assignments/character-sets 
* http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/ROMAN.TXT

It may not be possible to fix, but at least I can ask, and I at least I've
posted a workaround for others who might someday have the same problem.   If it
can't be fixed, maybe it could at least be listed in release notes somewhere.
(In reply to comment #5)
> Ben Fowler wrote:
> Look at the http://www.benslade.com/misc/BadMacintoshCharset.html file I've
> posted online, and ask somebody who knows if Moz should handle charset=macintosh.

Go to View->Character Encoding->Customise List ...

Scroll down the Available Character Encodings and move Western(MacRoman) to
the Active list.

Click O.K. Now you can set the character encoding for viewing your document
to MacRoman.

> Other relevant web page might be (search down for lowercase "macintosh"):

http://www.fourmilab.ch/webtools/demoroniser/

If you think that there is a defect in the documentation/help for Firefox
kindly file a bug against that part that didn't contain what you were looking
for.

This report is WFM.

Thanks.
We really should support "macintosh", which is the registered IANA name for
MacRoman. So this isn't WORKSFORME, but it is a dupe :)

*** This bug has been marked as a duplicate of 237712 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: