QTextCodec::codecForLocale(): clarify and update documentation

Change-Id: If3eec8cfc90cadcbd418807891ccf19b796f4006
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Edward Welbourne 2018-12-03 11:47:04 +01:00
parent 7c7e007794
commit 4da0c669d3
1 changed files with 3 additions and 5 deletions

View File

@ -695,11 +695,9 @@ void QTextCodec::setCodecForLocale(QTextCodec *c)
\threadsafe
Returns a pointer to the codec most suitable for this locale.
On Windows, the codec will be based on a system locale. On Unix
systems, the codec will might fall back to using the \e iconv
library if no builtin codec for the locale can be found.
Note that in these cases the codec's name will be "System".
The codec will be retrieved from ICU where that backend is in use, otherwise
it may be obtained from an OS-specific API. In the latter case, the codec's
name may be "System".
*/
QTextCodec* QTextCodec::codecForLocale()