I don't understand; why should the URI be %F3 when %F3 isn't legal UTF-8?
It sounds like you're wanting UTF-8 output, but input in a particular
codepage (I assume ISO Central European judging by your mail's encoding).
I'm not sure that that's a good thing to be wanting, and I know my browser
won't do it (it's configured to always send UTF-8 URIs).

-----Original Message-----
From: Toma [mailto:[EMAIL PROTECTED]
Sent: 12 January 2005 14:56
To: [email protected]
Subject: Re: [displaytag-user] paging with UTF-8



I'm still looking for help.

I have a jsp file starting with:
<[EMAIL PROTECTED] contentType="text/html; charset=utf-8" %>

Here's what I get when submiting a search form with pattern string e.g. is
"jÃ"

Results come back, but when looking on sorting and paging links it looks
(paging): 
http://localhost:8080/foo/search.html?d-16544-p=2&searchList=1&searchPattern
=j%C3%B3


My problem is that "Ã" should be converted as %F3 so URL should be:
http://localhost:8080/foo/search.html?d-16544-p=2&searchList=1&searchPattern
=j%F3 


How can I solve this issue?

Please help,
Thomas

 


----- Original Message ----- 
From: "Toma" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, January 11, 2005 9:42 AM
Subject: [displaytag-user] paging with UTF-8


> hi,
> 
> I have a search form with charset UTF-8.
> Paging and sorting URLs of display-tag are badly encoded (I guess it uses
> latin1, and converts the UTF-8 bytes back to latin1 chars), and that's why
> it is not working, next page says empty list (since charset changed search
> pattern not found).
> 
> Is there any work around?
> 
> 
> Regards,
> Thomas


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to