It's UTF-8, not Latin1 on most systems nowadays. Only Windows
still living in the past...
Change-Id: I70f1bd7a49bed6dcc8e39bbc0f0613475791afdb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
QTextStream takes care of converting the 8-bit data stored on
disk into a 16-bit Unicode QString. By default, it assumes that
- the user system's local 8-bit encoding is used (e.g., ISO 8859-1
- for most of Europe; see QTextCodec::codecForLocale() for
+ the user system's local 8-bit encoding is used (e.g., UTF-8
+ on most unix based operating systems; see QTextCodec::codecForLocale() for
details). This can be changed using setCodec().
To write text, we can use operator<<(), which is overloaded to