irssi-import / bugs.irssi.org

bugs.irssi.org archive
https://github.com/irssi/irssi/issues
0 stars 0 forks source link

signal_add_first, recode bug #398

Open irssibot opened 18 years ago

irssibot commented 18 years ago

Recode is run before the signal_emit. This is probably what you want in most cases.. But not when using modules such as FiSH (http://fish.sekure.us/). For FiSH you want to decode the +OK base64 encoded string to text before recode is run.

It would be nice if there was some way to fix this generally. As i "solwed" it now I run recode in the module/script with the consequence that the message might shrink due to 8bit/16bit coding.

// IcE

irssibot commented 16 years ago

Ran into this recently myself when writing a perl script to handle FiSH messages. Would be nice if there was a way to ask irssi to recode a message a second time so that we can manually recode after decoding the encrypted message. Maybe access to recode_in()?