Re: encoding warnings

From: Pierre Frisch (pierre.frisc..pearway.com)
Date: Wed Jan 09 2008 - 21:53:29 EST

  • Next message: Pascal Robert: "Embedding only one framework ?"

    This is really a nice change and I am sure it will save most user a
    lot of grief with having the encoding being interpreted differently
    between eclipse and WebObjects. Take those warning seriously if you
    are doing anything else than US-ASCII -:)

    Cheers

    Pierre
    On Jan 9, 2008, at 16:24, Q wrote:

    >
    > On 10/01/2008, at 9:57 AM, David Holt wrote:
    >
    >> Sorry for the noise. I just found Q's message from December about
    >> the encoding management change.
    >>
    >> I'll make a note of this in the wiki.
    >>
    >
    > Sorry about the confusion.
    > I haven't had a chance to look into updating the project and
    > component wizards to reflect this yet.
    >
    >> David
    >>
    >> On 9-Jan-08, at 3:42 PM, David Holt wrote:
    >>
    >>> Creating a new WO Application/WOnder application project in
    >>> today's version of WOLips generates the following warning:
    >>>
    >>> Severity and Description Path Resource Location Creation Time Id
    >>> WOO Encoding type UTF-8 doesn't match component MacRoman Test/
    >>> Components/Main.wo Main.woo Unknown 1199921851770 19524
    >>>
    >>>
    >>> Changing the encoding type in the .woo and in the .html file does
    >>> not get rid of the warning. I have refreshed and cleaned the
    >>> project. What am I doing incorrectly?
    >>>
    >>> Also, shouldn't default components be generated without encoding
    >>> mismatches?
    >>>
    >>> Thanks,
    >>> David
    >>>
    >>> These are the values in my Main component:
    >>>
    >>> Main.html
    >>>
    >>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
    >>> ">
    >>> <html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "en" lang
    >>> = "en">
    >>> <head>
    >>> <meta http-equiv = "Content-Type" content = "text/html;
    >>> charset=utf-8" />
    >>> <title>untitled</title>
    >>> </head>
    >>> <body>Hello World!</body>
    >>> </html>
    >>>
    >>> Main.woo
    >>>
    >>> {
    >>> "WebObjects Release" = "WebObjects 5.0";
    >>> encoding = NSUTF8StringEncoding;
    >>> }
    >>
    >
    >
    >
    > --
    > 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 : Wed Jan 09 2008 - 21:54:46 EST