<div dir="ltr">Hello!<br><br>I have pmwiki-based site with Cyrillic characters ( <a href="http://www.finar.ru">www.finar.ru</a> ). I want to add characters counting function on my pages. I&#39;ve downloaded countglyphs.php, but it does not work. <br>
<br>Immediately after adding include_once(&quot;$FarmD/cookbook/countglyphs.php&quot;); in config.php the whole site get broken with error:<br><b><br>Warning</b>:  Unexpected character in input:  &#39;\&#39; (ASCII=92) state=1 in <b>/home/finar/public_html/finar/pmwiki.php(1246) : eval()&#39;d code</b> on line <b>1</b><br>
<br>My site changes it&#39;s encoding to ISO-8859-1, but it&#39;s native encoding is UTF-8. Forcing that encoding restores the content, but error is still on it&#39;s place.<br><br>Is there any way to fix it?<br><br>Thank you for help!<br>
<br>Best regards,<br>Finar.<br></div>