core: fix display bugs with some UTF-8 chars that truncates messages displayed

Example of char causing problems: U+26C4 (snowman without snow)
doc: fix example of weechat.command without buffer: it is executed on current buffer, not core buffer (scripting guide)