Page 2 of 2

Re: Unicode & Marty McFly

Posted: Thu Jan 16, 2025 2:22 pm
by tperry2x
Bit late to the party then, but you could have done something like:
func.png
func.png (10.96 KiB) Viewed 238 times
In your button (or any script).

which does this:
unicode-horsey.gif
unicode-horsey.gif (7.86 KiB) Viewed 238 times
This lives in the stack script:
full-func.png
full-func.png (52.04 KiB) Viewed 227 times
example stack:
unicode insert.oxtstack
(2.02 KiB) Downloaded 10 times

That's about my limits of understanding this, but is based on your previous post with your example. I just turned it into a function, which you can use in old LC versions? Is that the gist of it, or have I missed the point? (probably the second option)

Re: Unicode & Marty McFly

Posted: Thu Jan 16, 2025 2:55 pm
by richmond62
Is that the gist of it, or have I missed the point?
No you have not missed the point.

& the funniest thing about this is that at the point when LCC & came out I was ONLY working inwith the Unicode BMP 1 (first plane) I did not need surrogate pairs, so I learnt how to do that thing after LCC 7 came out because of someone hiring me to do something with the Sharada script with LCC 6.

And while your code is undoubtedly very clever, one still has to work out the surrogate pair for each character, and it does not seem less longwinded than the 'standard' way of doing things in LCC 6.
-
SShot 2025-01-16 at 16.58.34.png
SShot 2025-01-16 at 16.58.34.png (146.56 KiB) Viewed 214 times