Re: EOGen UTF-8 to Mac OS Roman conversion

From: Your Friend The Atom (yourfriendtheato..mail.com)
Date: Tue Jun 30 2009 - 22:56:56 EDT


On Fri, Jun 26, 2009 at 8:25 PM, Q <qdola..mail.com> wrote:

>
> On 27/06/2009, at 9:30 AM, Your Friend The Atom wrote:
>
> Does anyone one know why, when my _Entity.java template is in UTF-8,
> generated classes are in Mac OS Roman?
>
> Also UTF-8 w/BOM causes three bad characters to appear in the generated
> class. UTF-8, no BOM does not, but generated classes still come out as Mac
> OS Roman.
>
> I am using VelocityEOGeneratorTemplates. I already went through the
> Preferences and set all encodings to UTF-8.
>
>
> Just to clarify my understanding of the problem:
>
> Your template is encoded as UTF-8 and eclipse recognises the encoding type
> is UTF-8 when you examine the preferences.
>

Yes. It says Default (inherited from container: UTF-8).
Yet, looking at it with BBEdit, BBEdit thinks it's in Mac OS Roman

>
> The generated output is which one of the following:
>
> a) MacRoman but eclipse thinks it is UTF-8
> b) UTF-8 but eclipse thinks it is MacRoman
> c) MacRoman and eclipse knows it is MacRoman but it should really be UTF-8
>
> I don't think BOM's are supported.
>

A) MacRoman but eclipse thinks it is UTF-8

No BOM is ok.

Thanks for helping.



This archive was generated by hypermail 2.0.0 : Tue Jun 30 2009 - 22:58:16 EDT