Skip to content

Commit

Permalink
Fixed issue: Certain French characters garbled in statistics display …
Browse files Browse the repository at this point in the history
…and other areas
  • Loading branch information
c-schmitz committed Mar 30, 2012
1 parent 543a786 commit bb2113b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common_functions.php
Expand Up @@ -4643,7 +4643,7 @@ function FlattenText($sTextToFlatten, $bDecodeHTMLEntities=false, $sCharset='UTF
$sNicetext = strip_tags($sNicetext);
}
if ($bStripNewLines ){ // strip new lines
$sNicetext = preg_replace(array('~\Ru~','/\s{2,}/'),array(' ',' '), $sNicetext);
$sNicetext = preg_replace(array('~\Ru~'),array(' '), $sNicetext);
}
else // unify newlines to \r\n
{
Expand Down

2 comments on commit bb2113b

@TMSWhite
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be ported to Yii?

@c-schmitz
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Please sign in to comment.