Hi Bernd,
I'll test this as soon as possible and let you know the results in the meantime.
Kind regards.
Renaud
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Kind regardsEn Anglais vous ecrivez le mot 'exemple' avec un 'A': exAmple.
It is entirely down to UnicodeNoN' wrote: ↑Wed Jun 18, 2025 11:09 amBut I still say that all this takes us away from the original question, which has not really been addressed.
As a reminder, my post wasn't aimed at improving script quality (it is not the good forum for that), but at understanding the reasons behind the difference in speed between different versions of Livecode. Unicode was mentioned as one of the probable causes of this problem. But is it the only one?
Code: Select all
4.5.3: 84 seconds
9.6.10: 54 seconds
Create 1.0.0-dp-5 (engine version 11.0.0-dp-5): 43 seconds
Human error can never be ruled out, but the difference in accuracy was observed using a French text rather than an English one. I'll be running further tests to try to confirm or refute this observation.By the way, I did not see any difference between the results in the three versions of the engine I tried the English text in so I wonder if your assertion that '10 seems less accurate than 4.5.3' is actually human error (or the result of the text being converted to native encoding in 4.5.3, but retaining full unicode-ness in 10)?
So it *might* be related to Unicode in that there might be more characters you now need to strip from either side (i.e. ledeb) - for example there's only one dash like char in native encodings ('-' - ASCII dash); but Unicode has a veritable zoo of dashes (https://www.compart.com/en/unicode/category/Pd). [ Unicode tends to classify characters semantically and *not* visually ].