The Artima Developer Community
Sponsored Link

Java Buzz Forum
Why you should add the encoding property to your javac ant task

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Lars Hoss

Posts: 21
Nickname: woeye
Registered: Jul, 2003

Lars Hoss is a programmer focusing on J2EE and Objective-C on MacOS X
Why you should add the encoding property to your javac ant task Posted: Jul 5, 2003 4:06 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Lars Hoss.
Original Post: Why you should add the encoding property to your javac ant task
Feed Title: WoEyE's weblog
Feed URL: http://woeye.highteq.net/xml/weblog/woeye.rss
Feed Description: The personal weblog of WoEyE. Mostly about J2EE and MacOS X.
Latest Java Buzz Posts
Latest Java Buzz Posts by Lars Hoss
Latest Posts From WoEyE's weblog

Advertisement
Yesterday I compiled a project on my iBook and deployed the resulting jar files. Today the customer called me and told me that the CSV parser wasn't working anymore. After some research I found out that javac on OS X doesn't use ISO-8859-1 as the default encoding (I guess it uses MacRoman). Acutally the problem is that we have german umlauts in some of our source files. Therefore it is a good idea to specifiy the enconding property in your ant task:

<javac encoding="iso-8859-1" ...
...

Read: Why you should add the encoding property to your javac ant task

Topic: Benchmarks for Handsets-J2ME Games Previous Topic   Next Topic Topic: Via Vodafone-JavaGamesContest

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use