This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm storing error messages in a properties file and - if necessary - display them in a jsp. The jsp specifies an encoding of text/html, charset = UTF-8. In my Eclipse workspace preferences, I specify an encoding of UTF-8 for text files. Now, I have to use the � character in my properties file. Somehow, Eclipse wants me to use ISO-8859-1 for the properties file ("determined from content"), but if I accept that, it doesn't let me save the file after inserting the � character. On the other hand, if I change the encoding to UTF-8, the browser will display garbage, even though the jsp is sent as UTF-8. Things like using a "fresh" properties file or restarting eclipse don't work.