This is an old project I converted to be a Wonder app and WO 5.4.3 and I originally used a script to convert my .wo components to use inline bindings... although I'm not sure that was such a great idea... I like having some stuff in the .wod to make my html easier to understand... anyways, I think I left some .woo behind in the conversion process which was done by the scripts. So it's all my fault. :-)

But thanks a lot, everything works perfect after I added the .woo to all the components.


On Mar 14, 2009, at 7:43 PM, Q wrote:


On 14/03/2009, at 2:20 PM, Ricardo J. Parada wrote:


That seems to help some.

I added a .woo to my Main.wo component which is the page component. And now the title of the window shows correctly. Without the .woo the é character doesn't display correctly in the browser.

But I still have the problem in other places because the components displayed in the page are not displaying the accented characters. Maybe I'll have to add the .woo file to each .wo in my project. Hmm...

At least I'm making progress...  thanks for the suggestion.

Hmm.. ok, good to know. The question then is why was there no .woo file in the first place? WOLips should do this for you automatically unless you are using a really old version. Did you remove it, or was it not created when you created the component? If you create a new component does it currently create a corresponding woo file for you?




On Mar 13, 2009, at 11:27 PM, Q wrote:

Can you try explicitly creating a woo file for your page component and set the encoding type there as well and see if the problem persists.

Sent from my iPhone

On 14/03/2009, at 11:17 AM, "Ricardo J. Parada" <[email protected]> wrote:


I built a Wonder application that uses three frameworks.

When I run in Eclipse the accented characters in my WO components display correctly.

Then I built the application from the command line using ant. I installed the three frameworks and then built my application package with the three frameworks and Wonder frameworks embedded in the app bundle.

So my first test was to launch the embedded application to make sure it was working correctly and that my web server resources were displayed correctly. However, I noticed that my accented characters no longer display correctly.

My application constructor is as follows:

    public Application() {
        super();

        /* Initialization */

                log.info("Welcome to " + name() + " !");
                setDefaultEncoding("UTF-8");
setDefaultRequestHandler (requestHandlerForKey(directActionRequestHandlerKey()));
    }

I checked eclipse preferences (General : Workspace) and it is setup to UTF-8 encoding. I click on every project and Components folder in my app and frameworks and checked the properties doing option+enter in Eclipse. They are all set up to inherit from the parent and show UTF-8.

Only a few components have a .woo in them and the ones that do are specifying "UTF-8"

What else should I check?  Any ideas?


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

This email sent to [email protected]




--
Seeya...Q

Quinton Dolan - [email protected]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806




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

This email sent to [email protected]

Reply via email to