Project

General

Profile

Messages not splitting at 440 characters.

Added by K M over 8 years ago

When I send a long message in excess of what the server allows, the expected behavior (based on "Messages now splits up into 440 char messages to ensure everything recives") is that it will cut the message into appropriately-sized chunks and then send those. Unfortunately, this doesn't seem to be working at all, no matter how big the message is. It just shows it exactly as I wrote it in a single block, with nothing cut off, while every other user only sees the first 440.

Is there a setting I need to toggle, or a script that needs to be used? Or is the feature simply broken?


Replies (6)

RE: Messages not splitting at 440 characters. - Added by Per Amundsen over 8 years ago

How are you sending these messages?

RE: Messages not splitting at 440 characters. - Added by K M over 8 years ago

Normally? Type message, hit enter. In channels and private conversations.

RE: Messages not splitting at 440 characters. - Added by Per Amundsen over 8 years ago

I'm not able to replicate this, are you using any on INPUT scripts?

Also try open File -> Rawlog, send a long message, then look at rawlog to see what AdiIRC sends.

RE: Messages not splitting at 440 characters. - Added by K M over 8 years ago

The issue is slightly more complicated than I expected. For the record, no, I'm not using any scripts at all.

I sent the final paragraph of Lincoln's Gettysburg Address to a friend of mine. As a normal message, it did properly split up, more or less. The second chunk left out a word at the end.

Rawlog:
> PRIVMSG [redacted] :But, in a larger sense, we can not dedicate, we can not consecrate, we can not hallow this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought here have thus far
> PRIVMSG [redacted] : so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us—that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion—that we here highly resolve that these dead shall not have died in vain—that this nation, under God, shall have a new birth of freedom—and that government of the people, by the people, for the people, shall not perish
-> PRIVMSG [redacted] :from the earth.

The word "perish" at the end of the second chunk was missing. It ended up 441 characters (including the preceding and trailing spaces), so I tried a line of gibberish that was 441 characters, but it sent fine. At 442 characters it properly split it. Not sure what that's about.

Anyway, it turns out that the reason I thought it didn't work at all is that it doesn't work on /me action lines. Instead it sends it all as one chunk and cuts it off.

Image demonstrating actions and the missing "perish", from the friend's POV: http://i.imgur.com/9Qs7bH3.png

(It also reminds me that I had received complaints of my /me lines showing up with that [ ] ACTION bit every time, but that's another matter.)

Raw text I was using to test:
But, in a larger sense, we can not dedicate, we can not consecrate, we can not hallow this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us—that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion—that we here highly resolve that these dead shall not have died in vain—that this nation, under God, shall have a new birth of freedom—and that government of the people, by the people, for the people, shall not perish from the earth.

RE: Messages not splitting at 440 characters. - Added by Per Amundsen over 8 years ago

Yeah this is not implemented for /me, I will fix that.

Also splitting by 440 characters is not the correct way, since each character is not 1 byte depending on encoding, something I will fix at some point.

RE: Messages not splitting at 440 characters. - Added by K M over 8 years ago

Ahh, that makes sense. Thanks for the info and the upcoming fix.

    (1-6/6)