The easy way is to either set the encoding type of the project or workspace to 
UTF-8, although you can change the encoding closer to the component itself if 
you have a mix of different encodings. (You can set the encoding in the 
properties menu)

The error is basically telling you that the component has an encoding type of 
UTF-8 (according to WO), but eclipse has been configured to edit and save it 
using MacRoman. The default behaviour for eclipse encoding is to inherit from 
the parent, which ends up to be the encoding of the workspace.

On 15/02/2012, at 7:35 AM, Tom Woteki wrote:

> All:
> 
> I get the subject warning for every component in a legacy app and another 
> that says basically the same thing but also refers to the html file. How do I 
> get rid of these pesky warning messages?
> 
> Here is a typical .woo file for these components:
> 
> {
>     "WebObjects Release" = "WebObjects 5.0"; 
>     encoding = "UTF-8"; 
>     variables = {}; 
> }
> 
> and here is the corresponding html:
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <html>
>     <head>
>         <meta name="generator" content="WebObjects 5">
>         <title><webobject name=String1></webobject></title>
>         <link rel="stylesheet" href="<webobject name=csslink></webobject>" 
> type="text/css">
>     </head>
>     <body>
>         <webobject name=ComponentContent1></webobject>
>     </body>
> </html>
> 
> The .woo file for ComponentContent1 is the same as above.
> 
> Thanks,
> Tom
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/qdolan%40gmail.com
> 
> This email sent to [email protected]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to