[Development] A bug or not a bug, that's the question
Christoph Feck
christoph at maxiom.de
Mon Aug 26 14:26:14 CEST 2013
On Monday 26 August 2013 13:53:38 Kurt Pattyn wrote:
> QTextCodec *codec = QTextCodec::codecForName("UTF-8")
> codec->toUnicode(someUtf8StringContainingNonCharacters, …);
>
> When toUnicode is called with a string containing Unicode
> non-character codes, QTextCodec returns a conversion error.
> [...]
> But, non-character codes are valid in Unicode, and should be
> maintained as is; Unicode published a corrigendum clarifying the
> handling of non-characters:
> http://www.unicode.org/versions/corrigendum9.html.
What do you mean with "maintained as is"? The document you cite does
not mention anything related to invalid UTF-8.
Since this is the Qt development list, please discuss code changes
needed to clarify what you mean.
--
Christoph Feck
http://kdepepo.wordpress.com/
KDE Quality Team
More information about the Development
mailing list