when I use gradle run command and try to print some emojis, it prints question marks instead. How should I fix it?
v
Vampire
03/15/2025, 5:46 PM
Does it print correctly when you directly run the program?
Vampire
03/15/2025, 5:47 PM
Most probably something with encodings is wrong, but where exactly is hard to guess.
Could be the encoding in which you output, or the encoding of the JVM, or the encoding of your terminal, or your terminal font not supporting glyphs for those emojis, ........
Vampire
03/15/2025, 5:47 PM
Many possibilities and the fewest have anything to do with Gradle 🙂
h
HELINITY
03/15/2025, 9:06 PM
There's nothing wrong with terminal because in that same terminal, I am able to print emojis using python.