2
My project is not displaying any English characters correctly. When I display a string as "no", it displays "no".
The strange thing is, when I call the string straight from the res/string.xml
, it works properly. Does anyone have any idea why? I’ve asked at Stackoverflow gringo and no one has been able to answer me.
What I’ve tried so far:
File -> Settings -> Editor -> File Encondings, I put everything UTF-8 and even some others, dei rebuild/clean in the project and nothing, still the same.
If necessary, I can record a video and upload to Youtube to show!
EDIT:
This seems to be what happens when you read multiple bytes and convert each byte individually to character, ignoring the fact that some characters need more than one byte to be encoded. Can you tell more in depth what is the procedure that generates these strings and what it does? If possible post his code.
– Victor Stafusa
Hello! thanks for the reply. I posted an image as example!
– Diego Fortes
It happens at all times that I will display any type of text on the screen except for the /res/strings.xml
– Diego Fortes
Dear friend, a question... You are using Linux?
– Raphael Cabral