Add -Dfile.encoding=UTF-8 property to JAVA_OPTS Java options for tomcat
Workaround for already exported file
- Open the xml in notepad
- No extra space should be there at the beginning and end of the document
- Select File -> Save As
- Select save as type -> All files
- Enter file name as abcd.xml
- Select Encoding as UTF-8 -> Click Save
I am attaching my entities files. In this file i checked the space at the begining and end.
entity is already set to UTF-8.
Please help me if i have to do something else for consuming this entity as it is giving the same error:
Error Importing: error,Invalid byte 2 of 3-byte UTF-8 sequence