Error component TextEditor in linux

error component in linux does not support TextEditor ñ, á, é, í, ó, ú

Well, that’s not true - all strings are unicode, so the TextEditor and all other components can handle any character.

Presumably what you mean is that either the keyboard input isn’t picking up those keys correctly, or that the font rendering isn’t drawing them correctly… Do you know which it is?

if the problem is with the input from the keyboard, and when command to assign a new text from code.

compile the sample found on extras and not print those characters

.

Sorry - normally I’m ok at deciphering bad english, but those last 3 posts don’t make any sense at all!

yes, the keyboard input isn’t picking up those keys correctly, or that the font rendering isn’t drawing them correctly

…yes, I know that. I was asking you if you knew which of these possibilities was happening? E.g. if you put the character into the text editor by hard-coding it into your app, then it’d make it clear whether it’s the keyboard that’s not working.

txtmensaje->setText (“hola ñico”);
print hola ñico

Ok, so it’s the fonts. Are you sure that the font you’re using actually contains that character?

yes