facebook

XML Iso Encoding

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #199746 Reply

    Paul
    Participant

    Whenever 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

    #199752

    Scott Anderson
    Participant

    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 Support

    #199759

    Paul
    Participant

    @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 Support

    I 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

    #199761

    Scott Anderson
    Participant

    Paul,

    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

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: XML Iso Encoding

You must be logged in to post in the forum log in