I’m using a Java Scanner to capture Words/Phrases, but when I type in a word it contains or 'ç', the letter turns into a 'square'!
By instantiating your Scanner you can inform the charset you want to use. So consider using something like this: Scanner sc = new Scanner(System.in, "UTF-8"); The line above is an example, you must inform the charset that needs such as gifts here.
Well, the code you gave me didn’t work, however, starting from this I switched the "UTF-8" for "latin1" so it did work. Still Thank you!
– Nickolas Carlos
Yes @Nickolascarlos, as said you can inform the
charset
. This was an example, you should even inform what is needed in your environment =). I will edit to better explain this, thank you.– Bruno César