myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Bug in trinidad-1.0.2-SNAPSHOT with German umlauts and facelets?
Date Fri, 10 Aug 2007 09:40:54 GMT
däh,

I think I saw this a while ago, using facelets.
Can you try a *single* page, that contains

ääää üüüüüü etc ?

-M

On 8/10/07, Daniel Niklas <daniel.niklas@continentale.de> wrote:
>
> Hi Adam,
>
> > Alright, fixed on trunk.  I'll try to make sure this gets into the
> > official 1.0.2 release.
> Thanks a lot for fixing this so fast!
>
> > I can definitely say that I STRONGLY recommend web
> > developers use UTF-8, and abandon all the old
> > character sets.
> Good point, i would like to use UTF-8 encoding, but i got errors
> whith this encoding, when the file contains an umlaut:
> "Error Parsing /ppr-bug.xhtml: Error Traced[line: 15] Invalid byte 2 of
> 3-byte UTF-8 sequence."
> This is the line within an "ä".
>
> Can you give me a hint, how to do this correct?
>
> Regards
> Daniel :-)
>
> Stack Trace:
>
> com.sun.facelets.FaceletException: Error Parsing /ppr-bug.xhtml: Error
> Traced[line: 15] Invalid byte 2 of 3-byte UTF-8 sequence.
>         at com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:234)
>         at com.sun.facelets.compiler.Compiler.compile(Compiler.java:105)
>         at
> com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:197)
>         at
> com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144)
>         at
> com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:95)
>         at
> com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:496)
>         at
> com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
>         at
> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
>         at
> org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
>         at
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:138)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:141)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>         at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1098)
>         at
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:241)
>         at
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:198)
>         at
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:152)
>         at
> org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
>         at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>         at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>         at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>         at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>         at org.mortbay.jetty.Server.handle(Server.java:285)
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
>         at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
>         at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
>         at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
> --
> View this message in context: http://www.nabble.com/Bug-in-trinidad-1.0.2-SNAPSHOT-with-German-umlauts-and-facelets--tf4242728.html#a12088181
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Mime
View raw message