Closed Bug 65697 Opened 24 years ago Closed 23 years ago

Mozilla changes "smart quotes" unnecessarily [form sub]

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 81203
Future

People

(Reporter: rodd, Assigned: alexsavulov)

References

Details

(Whiteboard: need test case)

I'm building a form using a textarea (among other input types).  When I copy
smart quotes in from a web page, and then submit the form, mozilla turns the
smart quotes into question marks.

On IE and NS4.7 on windows, these characters are passed through as there actual
characters (octal chars 223 and 224).

It seems strange that Mozilla can't pass through these characters and I am
assuming that it does the same with out characters outside the usual ASCII range.

I believe that Mozilla should either pass thru the characters as they are, or if
it must convert them to something else, it should convert them to a similar
shaped character.

This behaviour is inconsistant with other browsers which makes it difficult to
handle the data.
reassigning, eric this is either yours or it could be an editor problem, or even 
my issue, but I am buried at the moment
Assignee: rods → pollmann
Setting milestone to future.
Need a simple test case.
Whiteboard: need test case
Target Milestone: --- → Future
This bug may be "invalid." In HTML 4.01, form input is restricted to the
US-ASCII charset unless enctype="multipart/formdata" is specified.

See http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4
Another point to consider: while octal 223 and 224 are smart quotes in Windows
CP-1252; they are not smart quotes in ISO Latin-1 (iso-8859-1).

Compare:
http://czyborra.com/charsets/iso8859.html#ISO-8859-1
http://czyborra.com/charsets/iso8859.html#CP1252

ISO Latin-1 does not include the smart quote characters. Unicode does, at
something like decimal 8212.

See also bug 70838 about charset/form issues.
Blocks: 70838
Bulk reassigning form bugs to Alex
Assignee: pollmann → alexsavulov
Summary: Mozilla changes "smart quotes" unnecessarily → Mozilla changes "smart quotes" unnecessarily [form sub]

*** This bug has been marked as a duplicate of 81203 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verifying
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.