projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64783e6
)
Default to UTF-8 for padding.
author
Jan Schneider
<jan@horde.org>
Thu, 11 Nov 2010 16:20:38 +0000
(17:20 +0100)
committer
Jan Schneider
<jan@horde.org>
Thu, 11 Nov 2010 20:23:59 +0000
(21:23 +0100)
framework/Util/lib/Horde/String.php
patch
|
blob
|
history
diff --git
a/framework/Util/lib/Horde/String.php
b/framework/Util/lib/Horde/String.php
index
5bdbd24
..
fe8a2ec
100644
(file)
--- a/
framework/Util/lib/Horde/String.php
+++ b/
framework/Util/lib/Horde/String.php
@@
-398,7
+398,7
@@
class Horde_String
* @return string The padded string.
*/
static public function pad($input, $length, $pad = ' ',
- $type = STR_PAD_RIGHT, $charset =
null
)
+ $type = STR_PAD_RIGHT, $charset =
'UTF-8'
)
{
$mb_length = self::length($input, $charset);
$sb_length = strlen($input);