Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - WWF adds space every 60 characters -__-
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedWWF adds space every 60 characters -__-

 Post Reply Post Reply
Author
fantasy View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 01 July 2003
Location: China
Status: Offline
Points: 46
Direct Link To This Post Topic: WWF adds space every 60 characters -__-
    Posted: 15 February 2004 at 1:59pm

First , I would like to say that this phenomenon have existed for a long time, recent WWF versions all have this "bug".

Description:
The forum will add space into the post content regularly. After my observation, the space are added every 60 characters. Space does NOT only added into the Chinese character but also letters and figures.


Test:
Now I will seven continuing groups of text "1234567890", please pay attention to the space before the seventh "1":

123456789012345678901234567890123456789012345678901234567890 1234567890

I have to say that this bug is very annoying to Chinese users because Chinese do not add any space between two words while English does.What's more, sometimes when user posted some link in pure text format, the URL text will be interruptted with space.

I checked the forum files carefully but doesn't make any progress. Hope you can tell me how to fix it.

Welcome to my website:
PC Pioneer - the latest software news and forum site, Neowin in China!
http://www.pcpchina.com
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Direct Link To This Post Posted: 15 February 2004 at 2:09pm
This is not a bug and I spent many days coding and testing the function that splits long text strings at the 60th character so that posts can be line wrapped and you don't end up with long strings messing up the page formatting.

The function also spots things like HTML and forum codes so that HTML links still work and are not split and forum codes are not messed up.

You can change the character at which the string is split by changing the varaiable in functions_filters.asp line 564:-

Const intMaxWordLength = 60

Change 60 to a higher number.
Back to Top
fantasy View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 01 July 2003
Location: China
Status: Offline
Points: 46
Direct Link To This Post Posted: 15 February 2004 at 2:34pm

Originally posted by -boRg- -boRg- wrote:

This is not a bug and I spent many days coding and testing the function that splits long text strings at the 60th character so that posts can be line wrapped and you don't end up with long strings messing up the page formatting.

You can avoid this problem by changing property "warp" to "hard", for example:

<textarea name="comment" wrap="hard" id="comment"></textarea>

This is a method to fix your problem for <textarea> control, but I don't know whether this messed-up problem exists in RTE editor..

Welcome to my website:
PC Pioneer - the latest software news and forum site, Neowin in China!
http://www.pcpchina.com
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Direct Link To This Post Posted: 15 February 2004 at 3:01pm
This is not done for text areas.

It is done for when the post is displayed in an HTML table.

For example if I where to hold down a key a put in a long string without a way to force the string to be wraped in the table you will be doing lost of sideways scrolling:-

bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bb bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbb bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb




Edited by -boRg-
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Direct Link To This Post Posted: 15 February 2004 at 3:41pm

WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW

very funky :0

Back to Top
stone_guan View Drop Down
Newbie
Newbie
Avatar

Joined: 02 March 2003
Location: China
Status: Offline
Points: 25
Direct Link To This Post Posted: 16 February 2004 at 9:05am

Test Only:

123456789012345678901234567890123456789012345678901234567890 123456789012345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.