You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2008/07/22 20:57:40 UTC
DO NOT REPLY [Bug 45462] New: Special characters in meta data not
saved correctly
https://issues.apache.org/bugzilla/show_bug.cgi?id=45462
Summary: Special characters in meta data not saved correctly
Product: Lenya
Version: unspecified
Platform: Macintosh
OS/Version: Mac OS X 10.3
Status: NEW
Severity: normal
Priority: P2
Component: Miscellaneous
AssignedTo: dev@lenya.apache.org
ReportedBy: andreas@apache.org
Hi list,
I'm currently using the trunk version of Lenya 2 (downloaded aprox. 2 days
ago). To update our website at "unipost.es".
If you go to the "Site" mode and change some meta field using a special
character (áéí, etc), it gets garbled. It also doesn't match any search
using this word. It is reproducible with the default publication.
I found that the characters are saved broken in the .meta file.
In the other side, if you use a special character in the document creation
screen, there is no problem at all.
So, i think it should be related to the "metadata.change" usecase, but couldn't
find the problem.
Does anyone know what could be done to fix it?
Thanks in advance for any suggestion.
--
Carlos Palol
http://www.awarepixel.com
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 45462] Special characters in meta data not saved
correctly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45462
Andreas Hartmann <an...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #9 from Andreas Hartmann <an...@apache.org> 2009-01-22 03:31:06 PST ---
This issue has been fixed in Cocoon. I can't reproduce it anymore with Firefox
and Safari.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 45462] Special characters in meta data not saved
correctly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45462
Andreas Hartmann <an...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin.ginter@uniklinik-
| |freiburg.de
--- Comment #8 from Andreas Hartmann <an...@apache.org> 2008-12-18 06:01:15 PST ---
*** Bug 46414 has been marked as a duplicate of this bug. ***
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 45462] Special characters in meta data not saved
correctly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45462
--- Comment #5 from Andreas Hartmann <an...@apache.org> 2008-07-23 15:09:16 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Setting the container encoding to UTF-8 fixes the issue.
> >
> > Only with Firefox 3. With Safari, the characters are garbage.
>
> Safari doesn't add the "charset=UTF-8" snippet to the Content-Type header of
> the POST request.
Fixed, see
http://ospublish.wordpress.com/2008/06/09/encoding-of-dojo-xhrpost-parameters-in-safari/.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 45462] Special characters in meta data not saved
correctly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45462
--- Comment #4 from Andreas Hartmann <an...@apache.org> 2008-07-23 14:57:40 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > Setting the container encoding to UTF-8 fixes the issue.
>
> Only with Firefox 3. With Safari, the characters are garbage.
Safari doesn't add the "charset=UTF-8" snippet to the Content-Type header of
the POST request.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 45462] Special characters in meta data not saved
correctly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45462
--- Comment #3 from Andreas Hartmann <an...@apache.org> 2008-07-23 14:53:14 PST ---
(In reply to comment #2)
> Setting the container encoding to UTF-8 fixes the issue.
Only with Firefox 3. With Safari, the characters are garbage.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 45462] Special characters in meta data not saved
correctly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45462
--- Comment #7 from Andreas Hartmann <an...@apache.org> 2008-07-24 03:01:14 PST ---
Created an attachment (id=22312)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22312)
Patch by Jeremy Quinn to resolve the encoding issues
See http://www.nabble.com/request-encoding-conundrum-td18620867.html
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 45462] Special characters in meta data not saved
correctly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45462
Andreas Hartmann <an...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Andreas Hartmann <an...@apache.org> 2008-07-23 13:36:31 PST ---
I can confirm the problem.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 45462] Special characters in meta data not saved
correctly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45462
--- Comment #6 from Andreas Hartmann <an...@apache.org> 2008-07-23 15:11:15 PST ---
See also http://marc.info/?l=xml-cocoon-dev&m=121684794817371&w=2
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 45462] Special characters in meta data not saved
correctly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45462
--- Comment #2 from Andreas Hartmann <an...@apache.org> 2008-07-23 14:51:15 PST ---
Setting the container encoding to UTF-8 fixes the issue.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org