weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #38191] perl encoding hell


From: anonymous
Subject: [Weechat-dev] [bug #38191] perl encoding hell
Date: Tue, 29 Jan 2013 10:29:06 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 conkeror/1.0pre

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]