Hi Ron,
You can also change it by going into Eclipse preferences, typing "encoding" into the search box and change it on the Workspace page. Here's a screenshot: Pascal's way will make it use that as the default for all workspaces, this way you have to do it for each workspace you have, but even with Pascal's way, you'll have to redo that if you download a new copy of Eclipse (happens to me quite frequently).
Dave
On Sep 2, 2010, at 1:48 PM, Pascal Robert wrote: Did you change the file encoding in Eclipse? By default, it's using the system encoding, so on OS X, it's MacRoman... You can change the default encoding by closing Eclipse, and open the bundle /Applications/Eclipse (right click -> show package content) and edit Contents/MacOS/eclipse.ini to put that line :
-Dfile.encoding=UTF-8
Save eclipse.ini, reopen Eclipse and all files will now be on UTF-8. And it's normal to use garbage in Eclipse's console. We are adding multi language support to one of our applications. We are currently running on OSX 10.5, Eclipse 3.3, WOLips 3.3.4906. I create a new project using the WonderApplication template and enter a value of DLRŸ in a WOTextField, the value of the variable in java is DLR?.
I have a laptop running 10.6, Eclipse 3.5, WOLips 3.5.6066. If I run the same code then the value when i system.out is DLRŸ. Before I inform the management that I need to upgrade the developer machines to intel machines ( we currently have G5 Mac Pro) and have operations create a tomcat instance that has Java 1.6, is there something I am missing in my current configuration.
The current app uses UTF-8 text file encoding properties and the web page headers are as follows <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
When I create a app using the wizard, the doctype was <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> on both the Leopard and Snow Leopard versions.
Any help will be appreciated.
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|