Reputation: 549
The eclipse version that I am using is not able to read some of the special characters which are present in the code.
Below are the characters which eclipse is not able to read ..
{'à', 'á', 'â', 'ã', 'ä', 'å', 'æ','ç', 'è', 'é', 'ê', 'ë', 'ì', 'í', 'î', 'ï', 'ð', 'ñ', 'ò','ó','ô', 'õ', 'ö', 'ß', 'ø', 'ù', 'ú', 'û', 'ü', 'ý', 'þ', '×'}
It converts the above array into
{ '�', '�', '�', '�', '�', '�', '�','�', '�', '�', '�', '�', '�', '�', '�', '�', '�', '�', '�', '�','�', '�', '�', '�', '�', '�', '�', '�', '�', '�', '�', '�' }
Any idea how can we solve this issue ?
Upvotes: 0
Views: 87
Reputation:
Upvotes: 1
Reputation: 111142
You probably need to change the 'Text file encoding' option. You can specify the default for this in the Preferences > General > Workspace page.
You can also change the value for an individual file on the file Properties > Resource page.
Of course you need to know what the encoding the file is using. UTF-8 would be an initial guess.
Upvotes: 1