diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-04 12:10:19 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-05 15:57:10 (GMT) |
commit | f58c75bb0a6738ec65520f73e7ed7a791d8a77ab (patch) | |
tree | 5c640cfaee1db5b3c5b674d2dc734fd1387e99c2 /doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp | |
parent | 56c9bd9a4c03418ad0ba83b576bcc278e86bfe99 (diff) | |
download | Qt-f58c75bb0a6738ec65520f73e7ed7a791d8a77ab.zip Qt-f58c75bb0a6738ec65520f73e7ed7a791d8a77ab.tar.gz Qt-f58c75bb0a6738ec65520f73e7ed7a791d8a77ab.tar.bz2 |
Doc: Update QString docs about real ASCII and to/fromAscii and NULs.
Despite the names, the QString::toAscii and QString::fromAscii
functions are not about ASCII. One can set an ASCII-incompatible codec
using QTextCodec::setCodecForCStrings, which may lead to loss of
information.
Also update the docs about how the functions that take QByteArray take
embedded NULs in the QByteArray into account. The result is:
stop conversion at NUL: operator=, operator==, operator!=
include NUL in conversion: operator<, operator<=, operator>, operator>=
Reviewed-by: ossi
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp')
0 files changed, 0 insertions, 0 deletions