About the QOAuthHttpServerReplyHandler class specified in QOAuth1::setReplyHandler().
QOAuthHttpServerReplyHandler::setCallbackText() should be able to specify the contents of the response after the callback.
But, if you specify a Japanese text encoded in UTF-8 for this method, the display will be corrupted.
Probably, This is the same when one character uses characters composed of multiple bytes.
Default response is:
Code that causes problems:
That is response is (The last letter has been deleted):
Probably, caused by the following code:
html.size() is number of characters, but correct is number of bytes.