diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-06-25 12:47:51 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-25 23:39:27 +0200 |
commit | a1f9149ac75f08877074d4898399b46943eb9cd2 (patch) | |
tree | ed5f5872ddf6d80e1365bddbc7b6f979f03afabb /src | |
parent | afdce18f576adfb68eb381d1864e50580ed08786 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/io/qfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index 193ebe96b8..22b8ae5d2d 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -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 |