For using Korean or Special characters in Eclipse editor Cp1252 character encoding issue

Eclipse editor Cp1252 character encoding issue

When you assigned a Simple korean text to a String variable. And try to Save the Jave file, You may see following error. The error says Some characters cannot be mapped using “Cp1252” character encoding. Either change encoding or remove the characters which are not supported by the Cp1252 character encoding

"Cp1252" character

Eclipse editor default character encoding is cp1252. Which doesn’t allow special characters. To solve this issue you have to change Character encoding.


You can change the character encoding by

right clk on Project-> Properties -> Go to Resource ->


See Text file encoding -> Select Other and change to UTF-8 -> Apply


Now you can save the file with Korean or any language special character text.

Hope this helps somebody.


You may be also interested in


Leave a Reply

Your email address will not be published. Required fields are marked *