Also, I noticed something interesting.
A component that has the problem is showing some characters but not
others. The characters that display correctly are coming from the my
EO's property. The characters that don't display right are coming
from the html.
For example:
[ Test.html ] ---------------------
<wo:str value="$myEO.name"/>
Café
-----------------------------------
In this example the wo:str displays the value of myEO.name which
contains an accented character (i.e. José). But the word Café in the
html does not display correctly. Again, adding a .woo file fixes the
problem.
On Mar 14, 2009, at 12:20 AM, 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.
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]
_______________________________________________
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/rparada
%40mac.com
This email sent to [email protected]
_______________________________________________
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]