Could you perhaps change the resource file to use UTF-8 encoding, so
when it gets packaged, it is not converted but instead just copied,
thus keeping the umlauts? I haven't really run into this problem
myself (yet, fortunately) so I'm not sure if there are reasons why
this doesn't work etc.

Wayne

On 6/20/07, Jonas Thurfors <[EMAIL PROTECTED]> wrote:
Hi,

I have a Maven2 project including a resource file with ISO-8859-1 encoding.

When packaging the project to a war (mvn package) the resource file is
converted to UTF-8. I have UTF-8 as system encoding in my Ubuntu, so I
tried changing the LANG variable to "en_US.ISO-8859-1", but then all
umlaut characters (e.g. åäö) are replaced with question marks.

I know this is a known bug, is there any work-around?

Regards,
Jonas


Ubuntu 7.0.4
Maven 2.0.6

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to