eggheads / eggdrop

The Eggdrop IRC Bot
GNU General Public License v2.0
507 stars 84 forks source link

[1.9.5] Text alignment issue in .status with utf-8 channel names #1685

Open wilkowy opened 2 months ago

wilkowy commented 2 months ago

From .status:

    #......             :  25 members, enforcing "+tn" (bitch)
    #........           :   8 members, enforcing "+stn" (greet, bitch)
[...]
    #.......ü....      :   5 members, enforcing "+tn" (bitch)
    #.............      :   5 members, enforcing "+tn" (bitch)
vanosg commented 2 months ago

Great catch, and makes sense in hindsight since UTF are multi-byte characters, and the fields are currently fixed-byte (not character). Yet another "feature" that has evolved in the 30 years since Eggdrop came about!