DiogoFonseca1 Posted May 23, 2015 at 02:58 PM Report #583649 Posted May 23, 2015 at 02:58 PM Boas; Tenho estado a utilizar o IntelliJ e quando por exemplo ponho palavras com acentos ou caracteres especias e mando imprimir, aparece pontos de interrogação em vez desses caracteres. Alguém sabe o que poderei fazer para resolver este problema no IntelliJ ? Desde já obrigado 🙂
emanuelx Posted May 26, 2015 at 03:06 PM Report #583768 Posted May 26, 2015 at 03:06 PM testa isto byte ptext[] = myString.getBytes(ISO_8859_1); String value = new String(ptext, UTF_8); System.out.println(value); com calma e sem stresses
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now