bugWeeChat - Bugs: bug #38734, Weechat ignores/breaks messages...

 
 

bug #38734: Weechat ignores/breaks messages that are too long and are written in Korean language

Submitted by:  Kim Gunwoo <wind0204>
Submitted on:  Sun 14 Apr 2013 06:13:26 AM UTC  
 
Category: irc pluginSeverity: 3 - Normal
Item Group: irc protocolStatus: Wont Fix
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.4.0IRC nick: Dewr

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 17 Apr 2013 06:09:51 AM UTC, comment #2:

It's weird

A XChat user said that he see the last UTF-8 invalid character normally. but in weechat 0.4.0, I see the last character as '?'.

I submitted an issue to the issue tracker of the relay bot ( https://github.com/changwoo/irc-relay/issues/3 )

Kim Gunwoo <wind0204>
Sun 14 Apr 2013 07:30:55 AM UTC, comment #1:

Problem happens because the message is cut by another client (to fit in the IRC 512 bytes limit).

Some clients like irssi cuts the message in the middle of an UTF-8 char, and then the message becomes UTF-8 invalid.

When the message is not UTF-8 valid, WeeChat will try to decode it using "decode" charset, which is by default "iso-8859-1".
And after such decode, all UTF-8 chars are lost.

One solution is then to remove the "iso-8859-1" default decode charset if you don't use it (or set it only on buffers where you really need it):

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Sun 14 Apr 2013 06:13:26 AM UTC, original submission:

Weechat 0.4.0 or older version of Weechat ignores or breaks messages that are too long and are written in Korean language. but you can see the original message well in the "/server raw" buffer, a last character is broken though.

*copied from irc_raw :
144448 znc_ozinger --> | :sangu!sangu_hc@*8nr.f8l.41dh42.IP PRIVMSG #gnome :조기숙 교수를 필두로 한 어떤 이들은 “참여정부는 심판당한 적이
| 없으며 2007년 대선은 정동영의 패배였다”, “노무현을 내세운 선거는 언제나 승리했고 그렇지 못한 선거는 패배했다”,
| “문재인 후보의 ‘좌클릭’이 패배를 낳았다”는 식의 거의 대체역사소설이나 평행우주에서나 가능할 법 같은 가설을 통계나
| 과학의 이름으로 주장하기
144448 znc_hanirc --> | :♣!~GNOMERELA@121.168.63.178 PRIVMSG #gnome :<sangu> 조기숙 교수를 필두로 한 어떤 이들은 “참여정부는 심판당한 적이
| 없으며 2007년 대선은 정동영의 패배였다”, “노무현을 내세운 선거는 언제나 승리했고 그렇지 못한 선거는 패배했다”,
| “문재인 후보의 ‘좌클릭’이 패배를 낳았다”는 식의 거의 대체역사소설이나 평행우주에서나 가능할 법 같은 가설을 통계나
| 과학의 이름으로 주장하?
♣ is a relay bot that relays the message from Ozinger server to Hanirc server

*copied from irc/znc_hanirc #gnome :
144448 +♣ | <뒷북요정> [링크 제목] 민주통합당 대선 평가, 그 이후는? - 미디어스
144448 ⣠| <sangu> 조기ì êµì를
144449 +♣ | <sangu> 도 했다.

*copied from irc/znc_ozinger #gnome :
144448 뒷북요정 | [링크 제목] 민주통합당 대선 평가, 그 이후는? - 미디어스 │ d3m3_irctalk
144448 sangu | 조기숙 교수를 필두로 한 어떤 이들은 “참여정부는 심판당한 적이 없으며 2007년 대선은 정동영의 패배였다”,
| “노무현을 내세운 선거는 언제나 승리했고 그렇지 못한 선거는 패배했다”, “문재인 후보의 ‘좌클릭’이 패배를
| 낳았다”는 식의 거의 대체역사소설이나 평행우주에서나 가능할 법 같은 가설을 통계나 과학의 이름으로 주장하기
144449 sangu | 도 했다.

Kim Gunwoo <wind0204>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #27865:  message_to_produce_bug_in_weechat.utf8.txt added by wind0204 (466B - text/plain - I attached the message that produces the bug)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by flashcode (Posted a comment)
  • -unavailable- added by wind0204 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 May 2013 06:09:48 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Sun 14 Apr 2013 07:30:55 AM UTCflashcodeStatusNone=>Wont Fix
      Assigned toNone=>flashcode
    Sun 14 Apr 2013 06:26:44 AM UTCwind0204Attached File-=>Added message_to_produce_bug_in_weechat.utf8.txt, #27865

    Back to the top


    Powered by Savane 3.1-cleanup