bugWeeChat - Bugs: bug #36034, Truncation of wide charaters in...

 
 

bug #36034: Truncation of wide charaters in buffers.pl

Submitted by:  myxol <myxol>
Submitted on:  Thu 29 Mar 2012 12:34:29 PM UTC  
 
Category: scriptsSeverity: 3 - Normal
Item Group: displayStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.3.7IRC nick: myxol

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 07 Apr 2012 09:20:52 AM UTC, comment #2:

Bug fixed in version 3.3 of buffers.pl, with a "not perfect" solution: the option is now a number of chars (so with some wide chars, you have a longer length on screen).
But this option "buffers.look.name_size_max" will become obsolete when task #11967 will be implemented.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Fri 06 Apr 2012 09:18:28 PM UTC, comment #1:

Hello myxol,

i sent you link to a bug fixed version via IRC, today evening (04/06/12).
Please test the script and give flashcode or me a response if its finally
working for you.

Nils G <nils_2>
Project Member
Thu 29 Mar 2012 12:34:29 PM UTC, original submission:

If channel name written with wide characters (japanese or chinese) truncation fails.

Full channel name:
#おもしろネタ速報
with truncation set to buffers.look.name_size_max = 14
#おもしろ06+

Truncating to 14 wide charaters is no an option too. That's too long. It should truncate to name_size_max / 2.

myxol <myxol>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

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 nils_2 (Posted a comment)
  • -unavailable- added by myxol (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 03 Jun 2012 08:20:19 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Sat 07 Apr 2012 09:20:52 AM UTCflashcodeItem GroupNone=>display
      StatusNone=>Fixed
      Assigned toNone=>flashcode
    Thu 29 Mar 2012 12:34:29 PM UTCmyxolAttached File-=>Added 2012-03-29-105458_165x16_scrot.png, #25508

    Back to the top


    Powered by Savane 3.1-cleanup1