Change to mb_strlen
This commit is contained in:
parent
a41040db71
commit
1b45affd3b
@ -141,7 +141,7 @@ class Worksheet
|
||||
*/
|
||||
public function autoSetWidth($cell, $style, $zeroBasedIndex)
|
||||
{
|
||||
$size = 1 + strlen($cell->getValue());//ensure we have at least 1 space
|
||||
$size = 1 + mb_strlen($cell->getValue());//ensure we have at least 1 space
|
||||
$size *= $style->isFontBold() ? 1.2 : 1.0;
|
||||
$this->setMaxColumnWidth($zeroBasedIndex, $size);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user