error: unmappable character for encoding UTF8, when trying to build Universal Wiki converter

kamal2222ahmed March 1, 2013

I am trying to build uwc, and getting lots of errors ALL related to UTF-8. How can i include the UTF-8 lib, to get rid of the errors.

[javac2] /home/kahmed/universal-wiki-converter/src/com/atlassian/uwc/exporters/MindtouchExporterTest.java:251: error: unmappable character for encoding UTF8
   [javac2] 						"<p>�</p>\n" + 
   [javac2] 						    ^
   [javac2] /home/kahmed/universal-wiki-converter/src/com/atlassian/uwc/exporters/MindtouchExporterTest.java:256: error: unmappable character for encoding UTF8
   [javac2] 						"<p>�</p>\n" + 
   [javac2] 						    ^
   [javac2] /home/kahmed/universal-wiki-converter/src/com/atlassian/uwc/exporters/MindtouchExporterTest.java:265: error: unmappable character for encoding UTF8
   [javac2] 						"<p>�</p>\n" + 
   [javac2] 						    ^
   [javac2] 54 errors

BUILD FAILED
/home/kahmed/universal-wiki-converter/build.xml:156: Compile failed; see the compiler error output for details.

2 answers

0 votes
Jon Kokko August 15, 2016

For those struggling with this issue, you need to recode the files from UTF8 into Latin. This is easily done with the recode utility on Linux.

0 votes
John Moore August 17, 2014

Hi Kamal,

just posted the same error. Did you find what the issue was?

r,
john

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events