[Development] Qt6: Adding UTF-8 storage support to QString

Edward Welbourne edward.welbourne at qt.io
Wed Jan 23 19:26:06 CET 2019


Marco Bubke (23 January 2019 15:07) wrote
> Would it be not better to use a simple container and then functions on
> top which use a view, so we could use them with any container.

That sounds just fine to me.

Indeed, in separating the "Unicode text" nature from its encoding, I'm
fine with the *storage* being the encoding and the text being a view of
that storage - just as long as we get an API that lets us deal with
every form of storage (and encoding) consistently in terms of Unicode,
when the code accessing it wants to do that.

	Eddy.



More information about the Development mailing list