This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcj-3.2]: US locale [8859_1] coding is not supported


--- Igor Pechtchanski <pechtcha@cs.nyu.edu> wrote:
> On Sat, 31 Aug 2002, Igor Pechtchanski wrote:
> 
> > On Sat, 31 Aug 2002, Nicholas Wourms wrote:
> >
> > > Hi,
> > >
> > > I was trying to compile a java app with gcj.  The application
> had a
> > > configure script and was designed with the intention of being
> > > compiled with gcj.  It passes this flag (along with others)
> during
> > > compile time:
> > >
> > > "--encoding=8859_1"
> > >
> > > which results in failure:
> > >
> > > " [...]unknown encoding: `8859_1'
> > >   This might mean that your locale's encoding is not supported
> > >   by your system's iconv(3) implementation.  If you aren't
> trying
> > >   to use a particular encoding for your input file, try the
> > >   `--encoding=UTF-8' option"
> > >
> > > Sure I could just use UTF-8, which is working perfectly fine
> [in most
> > > cases, but not all], but I find it a little bizarre that US
> encodings
> > > would not be supported.  Just thought I'd give you a heads up.
> > >
> > > Cheers,
> > > Nicholas
> >
> > Nicholas,
> >
> > This is just a WAG, but try specifying the encoding as
> 'iso_8859_1' or
> > 'iso8859_1'...
> >         Igor
> 
> Some more info on this:
> A quick search on google turned up the following thread:
> 
> http://w6.metronet.com/~wjm/tomcat/2001/May/msg00729.html
> 
> that seems related.

Hmm, unfortunately I've already tried all the variations, no luck
though.  Anyhow, according to the manpages, it's supposed to be
there.  Yeah, I saw that site as well, but unfortunately it doesn't
help because my problem is with compiler options, not internal
variables.  I don't know why, but the author of the java application
I'm working on states that passing UTF-8 will break things.  Anyhow,
thanks for your ideas.

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]