Small documentation fix about the text streams default encoding.
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>
This commit is contained in:
parent
afdce18f57
commit
a1f9149ac7
@ -163,8 +163,8 @@ QAbstractFileEngine *QFilePrivate::engine() const
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user