From: Erik V. <eri...@xs...> - 2011-11-09 16:03:58
|
For 18EU, I have changed the remaining two 'entities' in company names to UTF-8-encoded characters. I did this on Stefan's suggestion, but somewhat reluctantly, as entities (like Ö) are safer (encoding-independent low ASCII) than the actual characters (Ö in this case). But such decimal or hexadecimal entities are badly readable. I also have set the Eclipse text file encoding setting to UTF-8. On my Windows 7 PC, it was previously set to Cp1252, which caused problems in JUnit testing: the 'standard' report files were not parsed as an UTF-8 file but as Windows-encoded files. This setting made Eclipse to update my version of file .settings/org.eclipse.core.resources.prefs by adding the encoding setting. The repo already contained an empty version of this file, and so I have pushed this setting now to the central repo. I have also added file .settings/org.eclipse.core.runtime.prefs, which sets the line separator to newline only. I'm not sure, though, if it is necessary (or even useful) to put such Eclipse-specific encoding standards into the repository. Erik. > -----Original Message----- > From: Erik Vos [mailto:ev...@us...] > Sent: Wednesday, November 09, 2011 4:30 PM > To: rai...@li... > Subject: [Rails-commits] .settings/org.eclipse.core.resources.prefs > .settings/org.eclipse.core.runtime.prefs data/18EU > > .settings/org.eclipse.core.resources.prefs | 3 +++ > .settings/org.eclipse.core.runtime.prefs | 3 +++ > data/18EU/CompanyManager.xml | 4 ++-- > 3 files changed, 8 insertions(+), 2 deletions(-) > > New commits: > commit 6ca045795458ba9c3a9d8e14451bde3dbfaad23e > Author: Erik Vos <eri...@xs...> > Date: Wed Nov 9 16:29:17 2011 +0100 > > 18EU: entities in company names changed to Unicode characters. > > Actually, entities are safer, as these are encoding-independent. > Characters (like C) require file encoding to be understood as UTF-8. Here we go, I meant: Ö. > To ensure this, added Eclipse preference to encode/decode fiels as UTF-8 > (this affects reading/writing non-java and non-XML files). > Also set line delimiter to newline only. > |