You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by bu...@apache.org on 2003/09/30 13:51:36 UTC
DO NOT REPLY [Bug 23511] New: -
Problem with URL encodings at EngineServiceLink.java
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23511>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23511
Problem with URL encodings at EngineServiceLink.java
Summary: Problem with URL encodings at EngineServiceLink.java
Product: Tapestry
Version: 3.0
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Framework
AssignedTo: tapestry-dev@jakarta.apache.org
ReportedBy: friderman@hotmail.com
For example, when you encode a String in the URL as you do when using
DirectLink to encode a primary key, this is encoded using default platform
encoding. Then when it's decoded, UTF-8 is used causing characters like í ó, etc
(accentuated characters) get decoded like '?' and losing some chars of the
string.
The problem may be in EngineServiceLink.java in line 225 in tapestry3.0 beta3
(I haven't check the CVS). The method used here is deprecated and it encodes
using the default platform encoding. My system uses some ISO-88xx. Then when
its decoded its explicitly using UTF-8 in most places in tapestry source
causing the problem described above.
I hope this could be useful.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org