Hi!

I programming in qt for half year, but still now I made just english-language software. Today I would like to make something with hungarian characters, so I should use utf8 or iso 8859-2.

I found this:
Qt Code:
  1. QString QObject::trUtf8 ( const char * sourceText, const char * comment = 0, int n = -1 )
To copy to clipboard, switch view to plain text mode 
and
Qt Code:
  1. QString::fromUtf8(" ... ")
To copy to clipboard, switch view to plain text mode 
- these are good for settings, but how can I get the text of a text edit or a line edit in utf8 format?

Thank you,
greenvirag