DO NOT REPLY [Bug 45462] New: Special characters in meta data not saved correctly

View: New views
8 Messages — Rating Filter:   Alert me  

DO NOT REPLY [Bug 45462] New: Special characters in meta data not saved correctly

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
        ReportedBy: andreas@...


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@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 45462] Special characters in meta data not saved correctly

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=45462


Andreas Hartmann <andreas@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #1 from Andreas Hartmann <andreas@...>  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@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 45462] Special characters in meta data not saved correctly

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=45462





--- Comment #2 from Andreas Hartmann <andreas@...>  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@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 45462] Special characters in meta data not saved correctly

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=45462





--- Comment #3 from Andreas Hartmann <andreas@...>  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@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 45462] Special characters in meta data not saved correctly

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=45462





--- Comment #4 from Andreas Hartmann <andreas@...>  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@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 45462] Special characters in meta data not saved correctly

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=45462





--- Comment #5 from Andreas Hartmann <andreas@...>  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@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 45462] Special characters in meta data not saved correctly

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=45462





--- Comment #6 from Andreas Hartmann <andreas@...>  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@...
For additional commands, e-mail: dev-help@...


DO NOT REPLY [Bug 45462] Special characters in meta data not saved correctly

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=45462





--- Comment #7 from Andreas Hartmann <andreas@...>  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@...
For additional commands, e-mail: dev-help@...

LightInTheBox - Buy quality products at wholesale price