[cvs] commit: horde/lib Horde.php horde/config nls.php.dist
eric.rostetter at physics.utexas.edu
Tue Apr 22 18:04:40 PDT 2003
ericr 2003/04/22 17:04:40 PDT
First attempt to make access keys "work" with multibyte character sets
* Define the max bytes for each character set we support in nls.php
* If multibyte (max > 1) then append access key string to end in ()s
This isn't optimal, as Horde::getAccessKey is handed the *translated*
string and doesn't treat it properly as multibyte (it can't really), so
the characters it picks for access keys are rather random (it increments
through the multibyte string by one, picking up whatever ascii value
happens to be in that byte). I'm not sure how to fix that -- Suggestions
At least now in my testing, it no longer breaks multibyte translations
when access keys are on. Feedback welcome.
I've only defined the max bytes for the charsets as that is all I needed.
If desired we could make this an array/structure with more info (e.g.
min bytes as well as max bytes) but I'm not sure we have any use for
such additional info.
Revision Changes Path
1.23 +20 -2 horde/config/nls.php.dist
1.282 +24 -11 horde/lib/Horde.php
More information about the cvs