>>>>> On Tue, 31 Oct 2000 16:03:24 -0800, Paul Hoffman <[EMAIL PROTECTED]> said:
> $ThisOrd = utf8($ThisChar)->ord;
Replace that by
$ThisOrd = $ThisChar->ord;
substr already returns objects, now when you call a function on it, it
will be interpreted as a method and convert the object back to a UTF-8
encoded string.
--
andreas
- Weird interaction of ord, split, and substr with UTF-8? Paul Hoffman
- Re: Weird interaction of ord, split, and substr wit... Andreas J. Koenig
- Re: Weird interaction of ord, split, and substr wit... Paul Hoffman
- Re: Weird interaction of ord, split, and substr wit... Andreas J. Koenig
- Re: Weird interaction of ord, split, and substr wit... Paul Hoffman
- Re: Weird interaction of ord, split, and substr wit... Paul Hoffman
- Re: Weird interaction of ord, split, and substr wit... Andreas J. Koenig
- Re: Weird interaction of ord, split, and substr... Paul Hoffman
