Learn Japanese with JapanesePod101.com

View topic - Shoutbox limits

Shoutbox limits

Spotted any errors or found anything that doesn't work?

Shoutbox limits

Postby tanuki » Wed 08.23.2006 8:58 pm

Hello! (or: Hello, Zen-san!)

I'm pretty sure the shoutbox has character limits, because I've seen several messages get cut off. I don't know what that limit is, and the WagaWiki [url=thejapanesepage.com/w/index.php?title=Shoutbox]shoutbox article[/url] didn't help, either. But, anyway, that's not really my question.

The thing is, could there be like some marker of the remaining characters you can use? For example, when I send SMS there is a counter which goes down with every letter typed. It's not something of big importance, of course, but it would be something nice to have so we don't have to be paranoid about our messages being cut (wait, I should speak for myself: I always get paranoid.) ;-)

If it's even possible, of course. :-P
僕の下手な日本語を直してください。
User avatar
tanuki
 
Posts: 2302
Joined: Sun 09.25.2005 9:00 pm
Location: South America

RE: Shoutbox limits

Postby clay » Wed 08.23.2006 8:59 pm

Zen may know, but what I usually do with a long shout is I copy the entire shout to the clipboard. That way, if it does get cut off, I don't have to retype everything.

Not a solution, but may be helpful.
User avatar
clay
Site Admin
 
Posts: 2809
Joined: Fri 01.21.2005 9:39 am
Location: Florida

RE: Shoutbox limits

Postby tanuki » Wed 08.23.2006 9:03 pm

clay wrote:
Zen may know, but what I usually do with a long shout is I copy the entire shout to the clipboard. That way, if it does get cut off, I don't have to retype everything.

Not a solution, but may be helpful.


That was what I was talking about when I said "paranoid". Welcome to the club. :-D
僕の下手な日本語を直してください。
User avatar
tanuki
 
Posts: 2302
Joined: Sun 09.25.2005 9:00 pm
Location: South America

RE: Shoutbox limits

Postby kanadajin » Wed 08.23.2006 9:44 pm

that would be cool :D but where could you put it? the shoutbox is so small..( in width)
User avatar
kanadajin
 
Posts: 1528
Joined: Wed 05.04.2005 7:04 pm

RE: Shoutbox limits

Postby zengargoyle » Thu 08.24.2006 3:08 am

hehe, Fusion seems a bit confused on the limits...

in the PHP code, the message is limited to 255 bytes. (note: each SJIS character takes 2 bytes.)
but in the database, the message field is only 200 bytes.

plus, since it puts a break in every 25 bytes... (but hacked to remove the break when it happens to fall in the middle of a 2 byte SJIS character since browsers seem happy to wrap 2 byte characters without need for whitespace...)

so you should be able to fit 100 2 byte kanji characters in a single shout.
200 single byte characters as long as there is no run of 25 consecutive characters without a space.
subtract 4 bytes for each 25+ character without space run for the inserted '<br>'.

feel free to write some javascript to keep track of the characters in the textbox and put up a counter.

d(≧∇≦)
User avatar
zengargoyle
 
Posts: 1200
Joined: Sun 05.29.2005 10:16 pm

RE: Shoutbox limits

Postby paul_b » Thu 08.24.2006 3:11 am

clay wrote:
Zen may know, but what I usually do with a long shout is I copy the entire shout to the clipboard. That way, if it does get cut off, I don't have to retype everything.

Backspace.

In Firefox if you go back to the page before you posted the entire text is there to copy clipboard _after_ you find it was cut short.

P.S. IE sucks on that point.
User avatar
paul_b
 
Posts: 3210
Joined: Thu 06.01.2006 9:35 am

RE: Shoutbox limits

Postby Infidel » Thu 08.24.2006 3:46 am

I just got a U3 flash drive. So I'm using firefox for the first time ever. So far I haven't seen any real differences.
なるほど。
さっぱりわからん。
User avatar
Infidel
 
Posts: 3093
Joined: Sun 10.09.2005 1:12 am
Native language: 英語

RE: Shoutbox limits

Postby magma » Thu 08.24.2006 8:55 pm

So far I haven't seen any real differences.


Hit "Ctrl-T" for a big one.
User avatar
magma
 
Posts: 348
Joined: Thu 01.19.2006 1:32 pm
Location: 米国
Native language: 米語

RE: Shoutbox limits

Postby kanadajin » Thu 08.24.2006 8:59 pm

or Alt + f4 :P
User avatar
kanadajin
 
Posts: 1528
Joined: Wed 05.04.2005 7:04 pm

RE: Shoutbox limits

Postby Infidel » Thu 08.24.2006 11:19 pm

kanadajin wrote:
or Alt + f4 :P


This is really old news for me, but it does make me suspecious of using ctrl-t.
なるほど。
さっぱりわからん。
User avatar
Infidel
 
Posts: 3093
Joined: Sun 10.09.2005 1:12 am
Native language: 英語

RE: Shoutbox limits

Postby richvh » Thu 08.24.2006 11:25 pm

Ctrl-T opens a new tab in Firefox.
Richard VanHouten
ゆきの物語
richvh
 
Posts: 6451
Joined: Thu 09.29.2005 10:35 pm

RE: Shoutbox limits

Postby kanadajin » Thu 08.24.2006 11:26 pm

alt + f4 opens a 2nd tab in firefox.. and IME
User avatar
kanadajin
 
Posts: 1528
Joined: Wed 05.04.2005 7:04 pm

RE: Shoutbox limits

Postby magma » Fri 08.25.2006 12:25 am

Superhacker kanadajin strikes again with his crafty social-engineering skillz!
User avatar
magma
 
Posts: 348
Joined: Thu 01.19.2006 1:32 pm
Location: 米国
Native language: 米語

RE: Shoutbox limits

Postby chikara » Fri 08.25.2006 12:42 am

kanadajin wrote:
alt + f4 opens a 2nd tab in firefox.. and IME

Yep, in Windoze Alt+F4 is your friend
Don't complain to me that people kick you when you're down. It's your own fault for lying there
User avatar
chikara
 
Posts: 3576
Joined: Tue 07.11.2006 10:48 pm
Location: Australia (SA)
Native language: English (Australian)
Gender: Male

RE: Shoutbox limits

Postby prep_girl_Nessa » Fri 08.25.2006 2:51 am

kanadajin wrote:
or Alt + f4 :P


... I'm guessing it's a real bad thing I fell for that...
- Harumi Nessa - 熱砂 春美(Just kidding ^_^'')
'Do you know what it feels like, loving someone who's in a rush to throw you away?
Do you know what it feels like, to be the last one to know the lock on the door has changed?
' - Enrique Iglesias <3
User avatar
prep_girl_Nessa
 
Posts: 513
Joined: Tue 03.07.2006 3:11 am

Next

Return to Problems

Who is online

Users browsing this forum: No registered users and 4 guests