Error component TextEditor in linux


#1

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


#2

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?


#3

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


#4

compile the sample found on extras and not print those characters


#5

.


#6

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


#7

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


#8

…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.


#9

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


#10

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


#11

yes


#12