Re: [jetty-user] Jetty Encoding Problem After Update
Petar Tahchiev <[email protected]>
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <[email protected]> |
Guys, I just figured it out - it was a missing header on the jsp: <%@ page contentType="text/html;charset=UTF-8" language="java" %> Cheers, Petar. 2010/11/27 Petar Tahchiev <[email protected]> > Hi, > > I have a spring-powered application > that uses <spring:message code="some.code.here"/> taglibraries > to display the messages on the jsps. > And it was working just fine with 6.24, but now it shows Bulgarian as ???? > and Spanish or German letters with funny characters. > > I will try to prepare these days a sample application for you to reproduce > it. > > Cheers, Petar. > > 2010/11/27 Jan Bartel <[email protected]> > > Where is the encoding problem occurring? Is it in the >> url, the query params, a generated page or a statically >> served page? >> >> Jan >> >> >> >> On 26/11/10 01:57, Petar Tahchiev wrote: >> >>> Hi all, >>> >>> I've been using Jetty 6.24 for the last 8 months with no problems, >>> but yesterday I decided to update to 7.2.1.v20101111. As a result >>> my spring-based application doesn't show the correct encoding anu more. >>> It shows bulgarian text as ???? and german special characters as funny >>> characters. >>> >>> I think this guy has the same problem as me: >>> http://stackoverflow.com/questions/4214111/jetty-character-encoding-issue >>> >>> I tried to add this line >>> >>> -Dorg.eclipse.jetty.util.UrlEncoding.charsett=UTF-8 >>> >>> property in the start.ini file but it didn't help. >>> >>> Any other suggestions? >>> >>> Thanks. >>> >>> -- >>> Regards, Petar! >>> Karlovo, Bulgaria. >>> - - - - - - - - >>> | Author @ Manning Publications. >>> | CEO @ Phamola >>> | BGJUG-Bulgarian Java User Group Leader. >>> | Apache Maven Developer. >>> | Apache Jakarta PMC member. >>> | Jakarta Cactus Lead Developer. >>> | Codehaus Plexus Developer >>> | Blogger: http://weblogs.java.net/blog/paranoiabla/ >>> - - - - - - - - >>> Public PGP Key at: >>> https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 >>> Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 >>> >> >> >> -- >> Jan Bartel, Webtide LLC | [email protected] | http://www.webtide.com >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > > > -- > Regards, Petar! > Karlovo, Bulgaria. > - - - - - - - - > | Author @ Manning Publications. > | CEO @ Phamola > | BGJUG-Bulgarian Java User Group Leader. > | Apache Maven Developer. > | Apache Jakarta PMC member. > | Jakarta Cactus Lead Developer. > | Codehaus Plexus Developer > | Blogger: http://weblogs.java.net/blog/paranoiabla/ > - - - - - - - - > Public PGP Key at: > https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 > Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 > -- Regards, Petar! Karlovo, Bulgaria. - - - - - - - - | Author @ Manning Publications. | CEO @ Phamola | BGJUG-Bulgarian Java User Group Leader. | Apache Maven Developer. | Apache Jakarta PMC member. | Jakarta Cactus Lead Developer. | Codehaus Plexus Developer | Blogger: http://weblogs.java.net/blog/paranoiabla/ - - - - - - - - Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611