Sign character count
Moderators: Public Relations Department, Players Department, Programming Department
- Doug R.
- Posts: 14857
- Joined: Wed Mar 23, 2005 6:56 pm
- Contact:
Sign character count
What is the permissible character count for a sign? I made one, it looked fine, then truncated over night to 233 characters+whitespace. I can PM you details.
Hamsters is nice. ~Kaylee, Firefly
- EchoMan
- Posts: 7768
- Joined: Fri Aug 26, 2005 1:01 pm
- Location: Stockholm, Sweden
Re: Sign character count
The database limitation for dynamic names is 255 characters. But the code do some replacements, like replacing the newline (which is one character in Mozilla/FireFox, and two characters in IE) with "<br />", replacing all "<" or ">" with "<" and ">" respectively and so on. So it's very hard calculating manually how many characters will actually get saved.
I guess we could add a JavaScript to the textarea where you fill in the sign content that automagically calculates the remaining characters. It's also a lot easier to just say: 200 chars max! And no special characters.
I guess we could add a JavaScript to the textarea where you fill in the sign content that automagically calculates the remaining characters. It's also a lot easier to just say: 200 chars max! And no special characters.
- Doug R.
- Posts: 14857
- Joined: Wed Mar 23, 2005 6:56 pm
- Contact:
Re: Sign character count
The problem here is that I won't know if it will work until after two days of work. Any chance I can come up with replacement text and have it manually entered into the DB?
Hamsters is nice. ~Kaylee, Firefly
- EchoMan
- Posts: 7768
- Joined: Fri Aug 26, 2005 1:01 pm
- Location: Stockholm, Sweden
Re: Sign character count
I'm sure something can be arranged. 
Who is online
Users browsing this forum: Bing [Bot] and 1 guest
