Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-12-13 05:29:10

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

problem square in log text

In the last days my web-site logs is displaying some little squares, that make them difficult to read and understand.
Is there anyway to prevent this bad occurrance: http://​www.​google.​com/​search?​hl=en&newwindow=1&q=was​p+ne​st-remotion&aq=f&oq=&aqi= )?
thanks

Last edited by Bongo-man (2009-12-13 05:36:07)

Offline

#2 2009-12-13 08:37:30

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: problem square in log text

I mentioned this too. The same problem is seen almost by every user which Uses Opera – it doens’t know how to display shy char…
Opera 10.10

Last edited by the_ghost (2009-12-13 08:53:57)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#3 2009-12-13 18:18:24

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: problem square in log text

In my case this occurrs (only from some days and in 3 different web sites) with internet explorer 6.0 + O.S: Windows XP and service pack 3. I’m thinking this problem could be related to my server provider.

What do you think about it, what can I do to keep on getting more readable logs?
I’ve also tried to reload an antecedent file system but nothing has changed.

Offline

#4 2009-12-13 22:01:22

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: problem square in log text

This is because og function soft_wrap() in /lib/txplib_misc.php

$wbr = chr(226).chr(128).chr(139);

It’s a feature, not bug. The problem is that some old browsers (and Opera) don’t know how to display it.

The only way to disable this I see – editing sources.
Place return $text; in the first line of function soft_wrap():

function soft_wrap($text, $width, $break='​')
        {
return $text;
...

Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

Board footer

Powered by FluxBB