Re: UTF-8 not working

2011-10-17 Thread Mihai Postelnicu
What i did to make sure this works is everything you did + 
encodeURIComponent(value)

http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp

Never had any other encoding problems in any browser afterwards. 


On Sun 16 Oct 2011 11:56:14 AM EEST, Attila Király wrote:

Please provide a small quickstart showcasing the problem to get more help
because based on these information it should work.

Attila

2011/10/15 Mathias Nilsson


Oh, And I've also tried putting
org.springframework.web.filter.CharacterEncodingFilter as the first filter

--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/UTF-8-not-working-tp3906237p3907047.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org








-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: UTF-8 not working

2011-10-16 Thread Attila Király
Please provide a small quickstart showcasing the problem to get more help
because based on these information it should work.

Attila

2011/10/15 Mathias Nilsson 

> Oh, And I've also tried putting
> org.springframework.web.filter.CharacterEncodingFilter as the first filter
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/UTF-8-not-working-tp3906237p3907047.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: UTF-8 not working

2011-10-15 Thread Mathias Nilsson
Oh, And I've also tried putting
org.springframework.web.filter.CharacterEncodingFilter as the first filter

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/UTF-8-not-working-tp3906237p3907047.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: UTF-8 not working

2011-10-15 Thread Mathias Nilsson
This is my web.xml. Still does not work



http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://java.sun.com/xml/ns/javaee";
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
id="media-server" version="2.5">

media-server


contextConfigLocation
classpath:applicationContext.xml


log4jConfigLocation
classpath:log4j.xml


configuration
development



webAppRootKey
media-server


encodingFilter

org.springframework.web.filter.CharacterEncodingFilter

encoding
UTF-8


forceEncoding
true



Spring OpenEntityManagerInViewFilter


org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter



Spring OpenEntityManagerInViewFilter
/*


encodingFilter
/*


wicket.media

org.apache.wicket.protocol.http.WicketFilter

applicationClassName

se.fototext.media.server.web.application.MediaApplication




wicket.media
/*



org.springframework.web.context.ContextLoaderListener


CXFServlet

org.apache.cxf.transport.servlet.CXFServlet


CXFServlet
/services/*




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/UTF-8-not-working-tp3906237p3907026.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: UTF-8 not working

2011-10-14 Thread Attila Király
You have to configure a filter (write one or reuse existing ones like
http://static.springsource.org/spring/docs/3.1.0.RC1/javadoc-api/org/springframework/web/filter/CharacterEncodingFilter.html)
to call request.setCharacterEncoding("UTF-8") before wicket gets the
request. This is not needed with wicket 1.5.

Attila

2011/10/14 Mathias Nilsson 

> Sorry. Forgot to say wicket version 1.4.18
>
> getMarkupSettings().setDefaultMarkupEncoding("UTF-8");
> getRequestCycleSettings().setResponseRequestEncoding("UTF-8");
>
> set in init
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/UTF-8-not-working-tp3906237p3906254.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: UTF-8 not working

2011-10-14 Thread Mathias Nilsson
Sorry. Forgot to say wicket version 1.4.18

getMarkupSettings().setDefaultMarkupEncoding("UTF-8"); 
getRequestCycleSettings().setResponseRequestEncoding("UTF-8"); 

set in init

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/UTF-8-not-working-tp3906237p3906254.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org