Bug #1820
closedSmart quotes displayed improperly
0%
Description
When the " symbol is pasted in from an application like Word (which
could occur when pasting in an abstract for example), the word in
quotes is displayed as
&ldquoword&rdquo
instead of "word". This does not happen when the " symbols are typed
in. This may be related to Bug 1516.
Updated by Callie Bowdish over 16 years ago
Jing fixed this bug which is similar to bug 2517. I Tested it both using the online form and Morpho, submitting data sets to Metacat. I tested pasting in MS Word smart quotes, and they display correctly now.
------- Comment #2 from tao@nceas.ucsb.edu 2008-03-06 17:32 -------
This bug has been fixed (base on callie's testing). Here are somethings i did:
1)Use ServletOutputSteam to replace PrintWriter to send response of read and
query actions. So Java wouldn't encode the special characters.
2)Fix a bug in normalize method in MetacatUtil class - it will encode special
characters.
3)Fix a similar bug in normalize subroute in register-dataset.cgi.