- This topic has 3 replies, 2 voices, and was last updated 21 years, 8 months ago by
Scott Anderson.
-
AuthorPosts
-
PaulParticipantWhenever I go to save my struts-config.xml file after making changes, I am always shown a msg box which reads:
struts-config.xml will be saved in ISO-8859-1 encoding which is not the current workbench encoding. This can result in conflicts with other tools. Continue anyway?
I’ve gotten this msg since day one after installing myeclipse (i’m running the latest right now), but it’s finally becoming a bit annoying. I’ve tried to find some place to change the encoding, but haven’t been successful. I’m not even sure what I’d change it to. Ideas?
Linux GTK, 2.1.1
Thanks, Paul
November 4, 2003 at 1:04 pm #199752
Scott AndersonParticipantPaul,
The default encoding is set here: Window > Preferences > Workbench > Editors.
Are you specifying the encoding specifically in your struts-config.xml file? Is it different than the workspace default?
–Scott
MyEclipse SupportNovember 4, 2003 at 2:29 pm #199759
PaulParticipant@scott wrote:
Paul,
The default encoding is set here: Window > Preferences > Workbench > Editors.
Are you specifying the encoding specifically in your struts-config.xml file? Is it different than the workspace default?
–Scott
MyEclipse SupportI am specifying the encoding at the top of the struts-config.xml file, as
<?xml version="1.0" encoding="ISO-8859-1" ?>
The current workspace encoding is set to ANSI_3.4-1968
The interesting part to me is that I’m using (I believe) the myeclipseide xml editor, which inside the preview window for the xml editor preferences, also specifies ISO-8859-1. Should I change the encoding of the workspace to match …8859, or do you think that could cause other issues?Thanks, Paul
November 4, 2003 at 3:26 pm #199761
Scott AndersonParticipantPaul,
From what you’ve described, the warning is very legitimate. If you’re tired of seeing it, you can change your default workspace text encoding or just ditch the one in your struts-config.xml file and let it default. I’d personally do the latter.
–Scott
MyEclipse Support -
AuthorPosts