facebook

How to set encoding for created files to ISO-8859-15?

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

    Martin
    Member

    Hi,

    in Window -> Preferences -> MyEclipse -> Files and Editors -> XML (for example), I can set the encoding used when creating new files. I can choose UTF-8 or ISO-8859-1, but not ISO-8859-15. Why? Could I?

    BTW: it would be nice to set this in one place for all the different files (ASP/PHP, CSS, DTD, HTML, …) and not in every one of them. Most comfortable would be: use the setting of Window -> Preferences -> General -> Workspace.

    BTW2: typing “encoding” in the search box of preferences only shows me the General/Workspace page and none of the MyEclipse pages.

    #281296 Reply

    Martin
    Member

    OK,

    meanwhile I know, that XML parsers are only needed to accept UTF-8 and -16, so this could be the reason :-/

    This leads to another question: does it make sense to use ISO-8859-1: Most software will accept it, but no software is comitted to.

    #281304 Reply

    Riyad Kalla
    Member

    Martin,
    I’m not that familiar with the encodings to know what 8859-15 is, but my guess is that if it’s not provided in the drop down then the editor doesn’t support it and/or the behavior is undefined with those editors if that encoding is selected (e.g. parse errors, unknown characters, etc.)

    As far as which encoding you should use, I have no universal suggestion for you. Just consider the software that will be reading your file and make an educated guess is the only thing I can suggest. Consider the platforms your software will run on (Windows 98?) stuff like that.

    #281322 Reply

    Martin
    Member

    Riyad,
    thanks for your answer. The encoding question is no problem any more, but could you please notice my other comments:

    1. it would be nice to set the encoding of new files in one place for all the different files (ASP/PHP, CSS, DTD, HTML, …) and not in every one of them. Most comfortable would be: use the setting of Window -> Preferences -> General -> Workspace.
    2. typing “encoding” in the search box of preferences only shows me the General/Workspace page and none of the MyEclipse pages.

    Or should I post this to the feature request forum?

    #281338 Reply

    Riyad Kalla
    Member

    Martin,
    Sorry about missing those, here are my replies:

    1. I understand the request, we will consider it. Thank you for passing it along, I can see how that would be handy.

    2. That is strange… I’ll make a note of it for the dev team.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: How to set encoding for created files to ISO-8859-15?

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