0

What should I do If I am programming on java and when my code is running this shows me a message with "compilation error"?

I would appreciate your feedback. :)

17th Sep 2017, 7:03 PM
Ximena Guevara
Ximena Guevara - avatar
3 odpowiedzi
+ 6
"Unmappable character for encoding Cp1252" in this code: https://code.sololearn.com/cmQgvzqno8bZ/?ref=app ...is because you're compiling on an English-language Windows server where console output expects CodePage 1252. In other words, you can't use those characters on this system because the system doesn't know how to encode them. One possible workaround might be to switch the codepage. I don't have a Java example, but here's one where I fixed Python's output by flipping from CP1252 (Windows Latin-1) to CP850 (DOS Latin-1): https://code.sololearn.com/c6NQFsmNHz82/?ref=app Supported Java encodings: https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html [edited]
17th Sep 2017, 7:12 PM
Kirk Schafer
Kirk Schafer - avatar
+ 1
Thank you so much for your request guys. @luka @Kirk Schafer ^^
19th Sep 2017, 5:10 AM
Ximena Guevara
Ximena Guevara - avatar