Re: weird warning about invalid UTF-8 characters in java comments ...
Copyright Witness Network Support <[email protected]> Wed, 29 Oct 2008 21:34:11 +0000
| Newsgroups | gmane.comp.java.scarab.devel |
|---|---|
| Organization | Copyright Witness |
| Message-ID | <[email protected]> |
Hi, I get the same with LANG=en_GB.UTF8 but ignored it due to being in comments. It is possible to set the source code character set for the java compiler - perhaps this is the solution to remove the warnings. Hussayn Dabbous wrote: > Hi, i found following 2 files creating compilation warnings on java > 1.5 if > the shell variable LANG=de_DE.UTF-8 : > > compile: > [javac] Compiling 581 source files to target/scarab/WEB-INF/classes > [javac] > src/java/org/tigris/scarab/om/GlobalParameterManager.java:66: warning: > unmappable character for encoding UTF8 > [javac] * @author <a href="mailto:[email protected]">Ronny > V�lker</a> > [javac] ^ > [javac] > src/java/org/tigris/scarab/services/cache/JCSScarabCacheService.java:24: > warning: unmappable character for encoding UTF8 > [javac] * @author <a href="mailto:[email protected]">Ronny > V�lker</a> > [javac] ^ > > The effect disappears, when i change the shell variable LANG=de_DE > > I am not sure, why java complains about characterset-problems within > comments. I have never seen this. > But ok, maybe Ronny agrees in replacing his name by "Ronny Voelker" so > the warnings don't appear ? > And we agree on using utf-8 character set only in the java sources ? > > hmm... as i said, this is weird and i would say, that' can't be, if i > wouldn't have seen the effect with my > own eyes. Am i too picky ? But i am fan of the principle "No message > is good message" at least during > compilation ;-) ... > > regards, > hussayn > -- Sincerely Yours Copyright Witness Net Support [email protected] www.copyrightwitness.com Registration centre for copyright works. This e-mail and any attachments are confidential and intended for the addressee only. The information in this mail does not amount to legal advice or opinion. Any views or legal references are those of the author and are based on personal opinion or understanding only.