- This topic has 4 replies, 2 voices, and was last updated 16 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
MartinMemberHi,
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.
MartinMemberOK,
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.
Riyad KallaMemberMartin,
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.
MartinMemberRiyad,
thanks for your answer. The encoding question is no problem any more, but could you please notice my other comments:- 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.
- 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?
Riyad KallaMemberMartin,
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.
-
AuthorPosts