character encoding - How can i replace © and ’ these special charechers in java? -


i have replace special characters ’ , © because while storing text(which contains these special characters) database these appearing \xc2\xa9..(invalid characters.)can 1 tell me how store them database or how replace them(it urgent).
thanks&regards

make sure entire stack (database, jvm, container, application, etc.) using same character set (preferably utf-8). changes something, somewhere not. cause encoding errors ones describe.


Comments