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

 
 

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

Submitter:  myxol <myxol>
Submitted:  Thu 29 Mar 2012 12:34:29 PM UTC
   
 
Category:  scripts Severity:  3 - Normal
Item Group:  display Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.7 IRC nick:  myxol
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group 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 Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by nils_2 (Posted a comment)
  • -email is unavailable- added by myxol (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-03 flashcode Open/ClosedOpen Closed
    2012-04-07 flashcode Item GroupNone display
        StatusNone Fixed
        Assigned toNone flashcode
    2012-03-29 myxol Attached File- Added 2012-03-29-105458_165x16_scrot.png, #25508

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code