OS/2, eCS & ArcaOS - Technical > Programming

Qt6 Development

<< < (177/178) > >>

Rich Walsh:

--- Quote from: Flashback on February 01, 2025, 12:48:42 pm ---The handling of U_BUFFER_OVERFLOW_ERROR looks suspicious. Neither the end of the target nor the end of the source buffers appear to get calculated correctly for the second call to ucnv_toUnicode and ucnv_fromUnicode.

--- End quote ---

Ooops, you're right..  I'll put out a fix.

Paul Smedley:
I also have tst_stringconverter built now, so we can see if this improves on some of the failed tests (which were not significantly different than before this commit).

Rich Walsh:
Here's a patch for 'qstringconverter'. (Apparently you can't attach *.diff so I had to rename it *.txt.)

Paul, if this fails the 'tst_stringconverter' tests, could you send me the binary (assuming there is one) so I can better figure out what's wrong? Tnx.

Paul Smedley:
Will rebuild later today, but meanwhile, https://smedley.id.au/tmp/tst_qstringconverter.zip

Rich Walsh:

--- Quote from: Paul Smedley on February 02, 2025, 11:30:56 pm ---https://smedley.id.au/tmp/tst_qstringconverter.zip

--- End quote ---

This needs a fix. Starting around line 43 of 'tst_qstringconverter.cpp' there are two versions of "localeIsUtf8()". The non-Windows flavor returns TRUE. We need one like that which returns FALSE.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version