A robust starter web application to ease Java webapp development.

Home | Tutorials | Demos | Issues

 « Return to Thread: AppFuse 1.9.2 and Encoding issues

Re: Re: AppFuse 1.9.2 and Encoding issues

by Matt Raible-3 :: Rate this Message:

Reply to Author | View in Thread

Gilberto - I figured out a solution, thanks to my ISP (KGBInternet.com):

<quote>
Hi Matt.

I found some links that suggest this might work...

export LC_CTYPE=example_LANGUAGE
export LANG=example_LANGUAGE
export LANGUAGE=example_LANGUAGE

like

export LC_CTYPE=en_US
export LANG=en_US
export LANGUAGE=en_US

Keith
</quote>

I'm rebuilding the demo site with these settings right now.

Matt

On 6/6/06, gilbertoca <gilbertoca@...> wrote:

> Matt Raible escreveu:
> > On 6/6/06, Matt Raible <mraible@...> wrote:
> >> Gilberto,
> >>
> >> On my blog, you mentioned the following in regards to 1.9.1 RC1.
> >>
> >> <quote>
> >> The main problem is the character encoding for brasil locale (I think
> >> for
> >> other locales too) and the Appfuse in English link doesn't work.
> >> </quote>
> >>
> >> From
> >> http://raibledesigns.com/page/rd?entry=ann_appfuse_1_9_2#comments
> >> .
> >>
> >> The "AppFuse in English" link won't work unless you're logged in.  It
> >> links
> >> to mainMenu.html by default, but I can easily change it to / (which will
> >> redirect to mainMenu if you're logged in).  I'll go ahead and make that
> >> change.
> >>
> >> As far as other encoding issues, it seems that things work fine on my
> >> local
> >> machine, but not on the demo server.  Maybe there's something messed
> >> up with
> >> the default locale I'm building with on that server.
> >
> > Below is the message I sent to my ISP.  If anyone has any ideas of how
> > to fix this, please let me know. It seems to happen on Linux only.  I
> > can reproduce it on my Suse 10 box, but not on XP+Cygwin or OS X.
> > Running "ant fixcrlf" doesn't help either.
> >
> > <quote>
> > When I build the latest release of AppFuse on the appfuse.org server,
> > I'm seeing some strange behavior.  Basically, some i18n files are
> > getting chewed up and spit out with the wrong characters in them.  I'm
> > unable to reproduce this issue locally on Windows XP with Cygwin.
> >
> > For example:
> >
> > web/WEB-INF/classes/ApplicationResources_pt.properties:
> >
> > source: activeUsers.title=Usuários Ativos
> >
> > appfuse.org: activeUsers.title=Usu�rios Ativos
> >
> > locally: activeUsers.title=Usuários Ativos
> > </quote>
> >
> > Matt
> >
>
> This is a OS specific issue! Recently I came across myself with this
> problem!
> I thought to be a problem with java and tomcat but not.
> To solve it you need to configure its OS to accept other character
> encoding, not only UTF-8. And yes, the problem happens with whom builds
> the appfuse based project!
>
> So, I work with suse then:
> Control Center->System->Choose Language
> There choose Details buttom and in the Language Details dialog uncheck
> Use UTF-8 Encoding.
>
> or  use the /etc/sysconfig/language file
>
> Hope this help!
> Gilberto
>
> Gilberto
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: AppFuse 1.9.2 and Encoding issues