You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Inge Solvoll <in...@gmail.com> on 2007/04/24 08:57:29 UTC

Re: Fw: Tacos:Autocompleter , problem with UTF-8 encoding for non latin characters

Hi!

We had this problem, and we solved it by setting the correct UriEncoding for
tomcat:

http://tomcat.apache.org/faq/connectors.html#utf8

Hope this helps!

On 4/7/06, Jesse Kuhnert <jk...@gmail.com> wrote:
>
> I'm running on empty, but I think you play with  the hivemind
> configuration
> point looking somewhat like the following to set whatever ISO encoding
> requirements you have.
>
> <contribution configuration-id="tapestry.markup.MarkupFilters">
>         This contribution associates text/xml content types with tapestry
> so
> that an
>         IMarkupWriter instance can be created that will write xml
> responses.
>         <!-- <content type="text/xml"
>             filter="instance:org.apache.tapestry.markup.UTFMarkupFilter"/>
> -->
>         <content type="text/xml"
>             filter="instance:org.apache.tapestry.markup.AsciiMarkupFilter
> "/>
>         <content type="text/plain"
>             filter="instance:org.apache.tapestry.markup.AsciiMarkupFilter
> "/>
>     </contribution>
>
>
> On 4/6/06, gant@inextdot.com <ga...@inextdot.com> wrote:
> >
> > Please someone could reply this. This is my 3rd question in this list
> > without a  reply.Or no one has any idea?
> >
> > thank you all.
> >
> >
> >
> > ----- Original Message -----
> > From: <ga...@inextdot.com>
> > To: "Tapestry users" <ta...@jakarta.apache.org>
> > Sent: Thursday, April 06, 2006 13:47
> > Subject: Tacos:autocompleter , problem with UTF-8 encoding for non latin
> > characters
> >
> >
> > > Hi all,
> > >
> > > i get wrong characters in the autocomplete listener when non latin
> > > characters in the search string.
> > > How do i handle this? any ideas ? Even extended latin characters are
> > > wrongly converted.
> > >
> > > thanks.
> > >
> > > gant
> > > iNext
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.  http://opennotion.com
>

Re: Fw: Tacos:Autocompleter , problem with UTF-8 encoding for non latin characters

Posted by Inge Solvoll <in...@gmail.com>.
My company just switched to UTF-8 to support all european languages. It is
not easy, and hopefully this Autocompleter issue was our last problem.
Encoding is not fun, it is not easy, and it is not always well documented
because it it needs to be configured in so many layers, all made by
different people around the world.

If anyone has a step-by-step guide on how to consistently apply an encoding
to an entire application, please let me know :)

On 4/24/07, Inge Solvoll <in...@gmail.com> wrote:
>
> Hi!
>
> We had this problem, and we solved it by setting the correct UriEncoding
> for tomcat:
>
> http://tomcat.apache.org/faq/connectors.html#utf8
>
> Hope this helps!
>
> On 4/7/06, Jesse Kuhnert <jk...@gmail.com> wrote:
> >
> > I'm running on empty, but I think you play with  the hivemind
> > configuration
> > point looking somewhat like the following to set whatever ISO encoding
> > requirements you have.
> >
> > <contribution configuration-id=" tapestry.markup.MarkupFilters">
> >         This contribution associates text/xml content types with
> > tapestry so
> > that an
> >         IMarkupWriter instance can be created that will write xml
> > responses.
> >         <!-- <content type="text/xml"
> >             filter="instance:org.apache.tapestry.markup.UTFMarkupFilter
> > "/>
> > -->
> >         <content type="text/xml"
> >             filter="instance:
> > org.apache.tapestry.markup.AsciiMarkupFilter "/>
> >         <content type="text/plain"
> >             filter="instance:
> > org.apache.tapestry.markup.AsciiMarkupFilter"/>
> >     </contribution>
> >
> >
> > On 4/6/06, gant@inextdot.com <ga...@inextdot.com> wrote:
> > >
> > > Please someone could reply this. This is my 3rd question in this list
> > > without a  reply.Or no one has any idea?
> > >
> > > thank you all.
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: <ga...@inextdot.com>
> > > To: "Tapestry users" < tapestry-user@jakarta.apache.org>
> > > Sent: Thursday, April 06, 2006 13:47
> > > Subject: Tacos:autocompleter , problem with UTF-8 encoding for non
> > latin
> > > characters
> > >
> > >
> > > > Hi all,
> > > >
> > > > i get wrong characters in the autocomplete listener when non latin
> > > > characters in the search string.
> > > > How do i handle this? any ideas ? Even extended latin characters are
> >
> > > > wrongly converted.
> > > >
> > > > thanks.
> > > >
> > > > gant
> > > > iNext
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > --
> > Jesse Kuhnert
> > Tacos/Tapestry, team member/developer
> >
> > Open source based consulting work centered around
> > dojo/tapestry/tacos/hivemind.  http://opennotion.com
> >
>
>