Follow-up Comment #1, bug #38191 (project weechat):

from the api docs derives the following list of possibly non-utf8 data:

utf8* = iconv_to_internal charset, byte*string
byte* = iconv_from_internal charset, utf8*string
hook_process(_hashtable) callback (data, command, rc, byte*out, byte*err)
[maybe the out and err are not utf8?]

maybe some of the following hook_signal s:
*,irc_in_* [?]
*,irc_raw_in_* [?]
*,irc_out(1)_* [?]

following hook_modifier s:
Plugin |        Modifier |         Modifier data |         String |        
Output
[byte*string,utf8*out[?]] charset | charset_decode | plugin.buffer_name | any
string | string decoded from charset found for plugin/buffer to UTF-8
[utf8*string,byte*out[?]] charset | charset_encode | plugin.buffer_name | any
string | string encoded from UTF-8 to charset found for plugin/buffer
[byte] irc | irc_in_xxx (1) | server name | content of message received from
IRC server (before charset decoding) | new content of message
[should be fine] irc | irc_in2_xxx (1) | server name | content of message
received from IRC server (after charset decoding) | new content of message
[?] irc | irc_out1_xxx (1)| server name | content of message about to be sent
to IRC server (before automatic split to fit in 512 bytes) | new content of
message
[should be bytes at this stage?] irc | irc_out_xxx (1) | server name | content
of message about to be sent to IRC server (after automatic split to fit in 512
bytes) | new content of message

--> hook_modifier_exec is affected the same as hook_modifier


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?38191>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev

Reply via email to