When a UTF-8 sequences is too short, QUtf8Functions::fromUtf8 returns
EndOfString. If the decoder is stateful, we must save the state and then
restart it when more data is supplied.
The new stateful decoder (
|
||
|---|---|---|
| .. | ||
| echo | ||
| test | ||
| .gitattributes | ||
| .gitignore | ||
| QT4-crashtest.txt | ||
| korean.txt | ||
| qtextcodec.pro | ||
| tst_qtextcodec.cpp | ||
| utf8.txt | ||