Small documentation fix about the text streams default encoding.
authorLars Knoll <lars.knoll@nokia.com>
Mon, 25 Jun 2012 10:47:51 +0000 (12:47 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 25 Jun 2012 21:39:27 +0000 (23:39 +0200)
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>
src/corelib/io/qfile.cpp

index 193ebe9..22b8ae5 100644 (file)
@@ -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