I tried a little experiment on OS's and found the following default
file encodings on each:

Windows: Cp1252
Linux (Fedora Core): UTF-8
MacOS X: MacRoman

I've always heard that UTF-8 is a superset of 8859-1 (also known as Latin-1)

http://java.sun.com/javase/technologies/core/basic/intl/faq.jsp#core-textrep

http://www.joelonsoftware.com/articles/Unicode.html

Like most Americans I remain blissfully ignorant of most encoding
issues.  However, it occurs to me that if the code and i18n files are
encoded in whatever default encoding the developer has, that this
might cause problems for us when reading resources.  So, öffnen
written on my Mac, might come out as �ffnen when the user tries to
view it on a different OS.

I'm also curious as to what would happen when a user creates a zargo
file with comments in one encoding and hands it to someone else.  Has
anyone played around with this?

Mark

On Wed, Aug 10, 2011 at 3:29 PM, Linus Tolke Tigris <[email protected]> wrote:
> Hello again!
> The pom files I had created explicitly stated UTF-8 while it should have
> been ISO-8859-1 that seems to be default in the Maven world. I have fixed
> that now.
>         /Linus
>
> 2011/8/10 Mark Fortner <[email protected]>
>>
>> Tom,
>> The file I looked at used MacRoman encoding.  I don't think it has
>> problems with 8859-1 encoded files.
>> Mark
>>
>> On Wed, Aug 10, 2011 at 1:58 PM, Tom Morris <[email protected]> wrote:
>>>
>>> On Wed, Aug 10, 2011 at 4:26 PM, Mark Fortner <[email protected]>
>>> wrote:
>>> > It looks like the following files were checked in with something other
>>> > than
>>> > UTF-8 encoding.  This can cause problems for automated builds.
>>>
>>> Why can't an automated build deal with whatever encoding is used for
>>> the files?  You just need to tell the compiler what encoding it is.
>>>
>>> I'm pretty sure the source files are ISO Latin-1 (ie 8859-1), not UTF-8.
>>>
>>> Tom
>>>
>>> ------------------------------------------------------
>>>
>>> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2814136
>>>
>>> To unsubscribe from this discussion, e-mail:
>>> [[email protected]].
>>> To be allowed to post to the list contact the mailing list moderator,
>>> email: [[email protected]]
>>
>
>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2817323

To unsubscribe from this discussion, e-mail: 
[[email protected]].
To be allowed to post to the list contact the mailing list moderator, email: 
[[email protected]]

Reply via email to