On Wed, Jun 15, 2011 at 7:54 PM, <christian.muel...@nvoe.at> wrote:

> Then you are more lucky than me. I did the same using SUN JDK
>
> java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
>
> and get problems with the file encodings:
>
> Example in
>
> /home/christian/gt-trunk/modules/library/coverage/src/main/java/org/geotools/coverage/grid/
>
>
> GridCoverageFactory.java:          ASCII C program text
> GridEnvelope2D.java:               UTF-8 Unicode C program text
> GridGeometry2D.java:               ISO-8859 C program text
>
> Compilation failed for some ISO-8859 encoded files.
>
> A quick check on the java files shows
>
> 6013 files using ASCII chars
> 221  files using UTF-8
> 48   files using ISO-8859
>
> Should I try to recode this files ?
>

Maybe not? Let's try to figure out what is going on first.
I've just made a full build of GeoTools with java 6 and found
no issues either, it just worked.

So it seems the issue is specific to your system.
Are you on Suse linux? This message seems to be interesting:
http://www.velocityreviews.com/forums/t127154-wrong-default-encoding-on-linux.html
(see the last comment in the thread)

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to