> On 14 Nov 2018, at 10:44 am, Monte Goulding via use-livecode > <use-livecode@lists.runrev.com> wrote: > > You generally want to use codepoint in 7+ generally where previously you used > char unless you know you are dealing with a binary string and then you use > byte. Sorry! I have written codepoints here when I was thinking codeunits! Use codeunits rather than codepoints as they are a fixed number of bytes (2). Codepoints may be 2 or 4 bytes so there is a cost in figuring out the number of codepoints or the exact byte codepoint x refers to. So for chunk expressions on unicode strings use `codeunit x to y`. Cheers Monte _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: What is LC's internal text format?
Monte Goulding via use-livecode Tue, 13 Nov 2018 16:41:31 -0800
- Re: What is LC's internal te... Geoff Canyon via use-livecode
- Re: What is LC's interna... Mark Waddingham via use-livecode
- Re: What is LC's in... Geoff Canyon via use-livecode
- Re: What is LC'... Mark Waddingham via use-livecode
- Re: What is LC'... Jerry Jensen via use-livecode
- Re: What is LC's internal text format? Ben Rubinstein via use-livecode
- Re: What is LC's internal text forma... Mark Waddingham via use-livecode
- Re: What is LC's internal text f... Bob Sneidar via use-livecode
- Re: What is LC's internal text f... Ben Rubinstein via use-livecode
- Re: What is LC's internal te... Monte Goulding via use-livecode
- Re: What is LC's interna... Monte Goulding via use-livecode
- Re: What is LC's in... Monte Goulding via use-livecode
- Re: What is LC's interna... Ben Rubinstein via use-livecode
- Re: What is LC's in... Bob Sneidar via use-livecode
- Re: What is LC's in... Mark Wieder via use-livecode
- Re: What is LC'... Ben Rubinstein via use-livecode
- Re: What is LC'... Geoff Canyon via use-livecode
- Re: What is LC'... Bob Sneidar via use-livecode
- Re: What is LC'... Lagi Pittas via use-livecode
- Re: What is LC'... Bob Sneidar via use-livecode
- Re: What is LC'... Lagi Pittas via use-livecode