@Lukasz, I registered a bug in JIRA:
https://issues.apache.org/jira/browse/WW-4352
@Paul, yes I did specify output content encoding in the xsl stylesheet,
that was not working.
On Sat, May 24, 2014 at 1:56 PM, Paul Benedict wrote:
> Your XSL (stylesheet) has the ability to set the output conte
Your XSL (stylesheet) has the ability to set the output content encoding.
Are you using that? And does that work?
Cheers,
Paul
On Sat, May 24, 2014 at 2:05 PM, Lukasz Lenart
wrote:
> Can you register a bug in JIRA? Then we can extend XSLTResult to set
> content-encoding with response.
>
> 201
Can you register a bug in JIRA? Then we can extend XSLTResult to set
content-encoding with response.
2014-05-23 19:28 GMT+02:00 Arturo Flores :
> Apparently SetCharacterEncodingFilter only sets the character encoding for
> incoming content, does not affect the response. The custom filter in the
>
Apparently SetCharacterEncodingFilter only sets the character encoding for
incoming content, does not affect the response. The custom filter in the
link did work though, thanks for the tip.
Arturo
On Fri, May 23, 2014 at 8:54 AM, Arturo Flores wrote:
> I already have this in my web.xml:
>
>
I already have this in my web.xml:
CharacterEncodingFilter
org.apache.catalina.filters.SetCharacterEncodingFilter
encoding
UTF-8
ignore
true
CharacterEncodingFilter
/*
Shouldn't this be forcing utf-8 encoding? I'll try the method in the link
you p
So, encoding is missing. Do two things:
- register a bug in JIRA -> https://issues.apache.org/jira/browse/WW
- use some filter to force UTF-8 encoding ->
http://stackoverflow.com/questions/138948/how-to-get-utf-8-working-in-java-webapps
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl
The value of Content-Type is text/xml.
Arturo
On Thu, May 22, 2014 at 11:47 PM, Lukasz Lenart wrote:
> 2014-05-23 7:54 GMT+02:00 Arturo Flores :
> > When I request /testutf8 I get the following in the browser:
> > XML Parsing Error: not well-formed
> > Location: http://localhost:8080/testutf8
>
necesita %C3%A8
por ejemplo
Hell%C3%Ao World
http://www.w3schools.com/tags/ref_urlencode.asp
Saludos Cordiales desde EEUU
Martín
__
> Date: Thu, 22 May 2014 22:54:45 -0700
> Subject: utf-8 characters and xslt result type
> Fr
2014-05-23 7:54 GMT+02:00 Arturo Flores :
> When I request /testutf8 I get the following in the browser:
> XML Parsing Error: not well-formed
> Location: http://localhost:8080/testutf8
> Line Number 1, Column 48: encoding="UTF-8"?>h�llo world
> ---^
>
> I
I have the following in my struts.xml
utf8
testxml.xsl
My testxml.xsl file looks like this:
http://www.w3.org/1999/XSL/Transform";>
My TestXML.java file looks has the following
public Class TestXml {
private String utf8="hèllo world"; // a string with utf-8 character,
get
10 matches
Mail list logo