Friday, August 21, 2009

Asian chars in Eclipse - UTF-8 encoding

In order to save Asian and Indian characters in Eclipse, the file encoding should be changed to UTF-8 before opening the file and adding Indian and Asian characters. If you try to change the encoding after adding characters the Eclipse will show save error because of some characters can't be mapped. In order to change the encoding before opening the file, select file in navigator pane and right click for properties menu, choose Other (UTF-8) under Resource->Text file encoding.

No comments: