For the mb_strcut example, the byte count is actually 4 bytes (4B), not 3 as stated. That makes it a lame example. A better example is with 0,5 as parameters, which would give the same string result, and still 4B long... BUT it shows how the first byte of the accented "a" is just thrown away.
My bad.
I've now corrected this in the copies on the muug.ca website. ________________________________ From: Trevor Cordes trevor@tecnopolis.ca Sent: Wednesday, August 27, 2025 2:09 AM To: MUUG RndTbl roundtable@muug.ca Subject: [RndTbl] small newsletter error
Caution! This message was sent from outside the University of Manitoba.
For the mb_strcut example, the byte count is actually 4 bytes (4B), not 3 as stated. That makes it a lame example. A better example is with 0,5 as parameters, which would give the same string result, and still 4B long... BUT it shows how the first byte of the accented "a" is just thrown away.
My bad. _______________________________________________ Roundtable mailing list -- roundtable@muug.ca To unsubscribe send an email to roundtable-leave@muug.ca