1

Topic: bug

Russian capital letter "ê" disappears
http://punbb.org/forums/viewtopic.php?pid=32176#p32176
Sorry for my bad english

Re: bug

Does it "disappear" in these forum as well or just in your own forums?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3

Re: bug

Here and on my forum htttp: // kag.sc.ru/f/

Re: bug

Does this help?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

5

Re: bug

No sad . It has not helped

Re: bug

Are you the only one you know of who has this problem or is it the same in all russian forums?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

7

Re: bug

I do not know! It is a problem is on this forum and on mine.
This the problem was absent in version 1.1.x

Re: bug

Open up include/functions.php, look up the function called pun_trim and replace it with this:

function pun_trim($str)
{
        global $lang_common;

        if (strpos($lang_common['lang_encoding'], '8859') !== false)
        {
                $fishy_chars = array(chr(0x81), chr(0x8D), chr(0x8F), chr(0x90), chr(0x9D), chr(0xA0), chr(0xCA));
                return trim(str_replace($fishy_chars, ' ', $str));
        }
        else
                return trim($str);
}

Please note that posts made before this change will still be broken.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

9

Re: bug

Big thank! smile

Re: bug

I'm guessing it helped?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

11

Re: bug

Yes! Has helped!

Re: bug

Ok, great.

"Programming is like sex: one mistake and you have to support it for the rest of your life."