[dev] Re: [cvs] commit: horde/lib Horde.php

Eric Rostetter eric.rostetter at physics.utexas.edu
Mon Feb 10 09:51:21 PST 2003


Quoting Mike Cochrane <mike at graftonhall.co.nz>:

> While doing this I was looking at the rest of the getAccessKey().
> 
> I don't think it handles multibyte characters correctly. We use

I just got a complaint about this Friday, but haven't looked into it
yet.  They say that it is broken for traditional chinese since we
added access keys.  Only the things with access keys are broken 
apparently.

> String::substr()
> to retrieve one character. As I understand it, this will return exactly one
> byte, not one character if its is a multibyte string.
> 
> Can someone that fully understands multibyte strings check this?

I don't understand it at all, nor have I actually confirmed this, but I
did get a complaint about it from a user.

> - Mike :-)

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the dev mailing list