Thursday, August 18, 2011

Eclipse UTF Encoding and Simple Copy/Paste to Text Editor

Eclipse may be painful when writing cross platform codes. There are several links on the Web that explains how to setup UTF-8 as encoding of the Text editor. Here is what I did: Right click the Project>Properties. From the Resource, choose UTF-8 from Text File Encoding (Eclipse also does some changes when you insert the special characters you want in the code).

A good source of these special characters (more of a mathematical operators) and their codes are here : http://tlt.its.psu.edu/suggestions/international/bylanguage/mathchart.html

Stay tuned ...