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

Mike Cochrane mike at graftonhall.co.nz
Tue Feb 11 04:20:26 PST 2003


> ----- Message from mike at graftonhall.co.nz ---------
> 
> mikec       2003/02/10 07:12:58 PST
> 
>   Modified files:
>     lib                  Horde.php
>   Log:
>   for loop optimizations
> 
>   Revision  Changes    Path
>   1.265     +5 -4      horde/lib/Horde.php
> 
>   Chora Links:
>   http://cvs.horde.org/diff.php/horde/lib/Horde.php?r1=1.264&r2=1.265&ty=u

While doing this I was looking at the rest of the getAccessKey().

I don't think it handles multibyte characters correctly. We use 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?

- Mike :-)



More information about the dev mailing list