hi
The QChar doc saysBut it seems a single character is stored as one byte.The QChar class provides a 16-bit Unicode character.
I had expected the size to be 2 bytes.Qt Code:
qDebug()<<arr.size();//The OutPut is 1.To copy to clipboard, switch view to plain text mode
Bookmarks