Bit late to the party then, but you could have done something like:
which does this:
This lives in the stack script:
example stack:
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)
In your button (or any script).Unicode & Marty McFly
Forum rules
Be kind.
Be kind.
- tperry2x
- Posts: 3209
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
- richmond62
- Posts: 4831
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Unicode & Marty McFly
No you have not missed the point.Is that the gist of it, or have I 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.
-
https://richmondmathewson.owlstown.net/
Who is online
Users browsing this forum: No registered users and 2 guests