diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-10-12 22:21:48 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-10-12 22:21:48 +0200 |
commit | 513f5a1ee7ed88ee43b059827dca434edcc51e13 (patch) | |
tree | 301415a35b5bde5f1f3e0f65a144f301140d949b /doc/it/weechat_plugin_api.it.adoc | |
parent | 8fc8f728d49110ac44d403977f42afbdaf9d371e (diff) | |
download | weechat-513f5a1ee7ed88ee43b059827dca434edcc51e13.zip |
python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue #1220, closes #1389)
Diffstat (limited to 'doc/it/weechat_plugin_api.it.adoc')
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 39ed5c073..4e5b32dc5 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -10209,12 +10209,17 @@ List of signals sent by WeeChat and plugins: | irc | xxx,irc_out_yyy ^(1)^ | String: messaggio. | IRC message sent to server after automatic split - (to fit in 512 bytes by default). + (to fit in 512 bytes by default). + + *Warning:* the string may contain invalid UTF-8 data. + Signal "xxx,irc_out1_yyy" is recommended instead. +// TRANSLATION MISSING | irc | xxx,irc_outtags_yyy ^(1)^ + _(WeeChat ≥ 0.3.4)_ | Stringa: tag + ";" + messaggio. | - Tag + messaggio IRC inviato al server. + Tag + messaggio IRC inviato al server. + + *Warning:* the string may contain invalid UTF-8 data. + Signal "xxx,irc_out1_yyy" is recommended instead. | irc | irc_ctcp | String: messaggio. | @@ -11663,9 +11668,13 @@ List of modifiers used by WeeChat and plugins: |=== | Modificatore | Dati modificatore | Stringa | Output +// TRANSLATION MISSING | [[hook_modifier_irc_in_xxx]] irc_in_xxx ^(1)^ | Nome server | - Contenuto del messaggio ricevuto dal server IRC (prima della codifica del set caratteri). | + Contenuto del messaggio ricevuto dal server IRC (prima della codifica del set caratteri). + + *Warning:* the string may contain invalid UTF-8 data; use only for raw + operations on a message. + Modifier <<hook_modifier_irc_in2_xxx,irc_in2_xxx>> is recommended instead. | Nuovo contenuto del messaggio. | [[hook_modifier_irc_in2_xxx]] irc_in2_xxx ^(1)^ + |