ISO-8859 is only the default for java.util.Properties, not for Tapestry.
http://java.sun.com/javase/6/docs/api/java/util/Properties.html#load(java.io.InputStream)

You can configure Eclipse to use UTF-8 for *.properties if you go to Preferences 
--> General --> Content Types
That way you don't have to change it for each file.

On Wed, 21 Oct 2009 09:56:15 +0200, Gunnar Eketrapp <gunnar.eketr...@gmail.com> 
wrote:

Hi !

What is the recommended encoding for text files within a T5 project.

When I started the move to T5 i decided upon UTF-8 for all my text (*.java,
*.tml, *.properties, *.xml)  files but perhaps that was not too smart when
it comes to java property files.

I just read  ...

    Properties files are ISO-8859-1 by definition - see the docs for the
Properties 
<http://java.sun.com/javase/6/docs/api/java/util/Properties.html>class.


How do you folks do?

Note: The issues I have is that eclipse keeps insisting that my .properties
files are ISO-8859 and I have to manually switch encoding
for each new property file i create or copy. Besides that's everyting works
fine ....


Thanks in advance!
Gunnar Eketrapp

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to