Re: EOGen UTF-8 to Mac OS Roman conversion

From: Q (qdola..mail.com)
Date: Fri Jun 26 2009 - 23:25:24 EDT

  • Next message: Mr. G Brown: "Re: Eclipse 3.5/Nightly/Stable"

    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.

    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.

    -- 
    Seeya...Q
    

    Quinton Dolan - qdola..mail.com Gold Coast, QLD, Australia (GMT+10) Ph: +61 419 729 806



    This archive was generated by hypermail 2.0.0 : Fri Jun 26 2009 - 23:27:04 EDT