-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.6.3
-
None
-
8540ceb8c98fa225394385b6147b662adb67b58c
The documentation for QString::fromAscii says:
> Returns a QString initialized with the first size characters of the 8-bit ASCII string str.
This is a misunderstanding because ASCII (proper name ANSI X3.4/1968) is a 7-bit encoding. [1]
The documentation would be just fine with
> Returns a QString initialized with the first size characters of the character string str.
with the actual mechanism explained below as it is now.
As a side note, it would be nice if this function used the execution character set instead of fixed ISO-Latin-1. Too bad there is no way of knowing that (as of gcc, especially because the execution character set can change from one compilation unit to another).
___
[1] <URL:http://www.ecma-international.org/publications/standards/Ecma-006.htm>