+ 2
How to change my code?
I've got this code in Java: https://code.sololearn.com/cUuR1925nKoh/#java but I got an error, because I used strange signs (for example typing in Hindi). I got this: unmappable character for encoding Cp1252. I googled it and found that I should probably use UTF-8, but I have no idea how to add that in code. When I tried some of the things I found, they didn't work. Does anyone know how to fix this?
10 ответов
+ 4
lol...
+ 4
nope... but Java cat meme does make me think i should learn java
+ 4
have u tried the charset method listed here:
http://stackoverflow.com/questions/5729806/encode-string-to-utf-8
note the typo in the answer as noted directly underneath the answer
+ 2
I'm not a bro ;)
But rip strange languages then I guess
+ 2
Yeah but I'm no dude either 😂
+ 2
Yeah lmao
Should I add [is a woman] in my username or? 😂
+ 2
All jokes aside, you don't know how to fix it either Jay? (or COMPLEX who's spying :p)
+ 2
I think I tried it with the typo in it, will check if it works tomorrow, thanks!
Edit: I tried running it with the extra line but I'm getting 'no output' now.
+ 1
Why don't you...
+ 1
I've programmed in C# before, but don't know all about it. Done the course in C++, so only know the basics of that and tried out some things before in JavaScript. Now I'm sticking to Java