[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gcal] Display length of non-ASCII
From: |
Göran Uddeborg |
Subject: |
Re: [Bug-gcal] Display length of non-ASCII |
Date: |
Sun, 12 Jun 2016 14:30:36 +0200 |
Mariusz Adamski:
> --enable-unicode (I think it should probably be made to be default; who
> isn't using unicode nowadays anyway?).
I know there are SOME old systems that don't, but it certainly makes
sense to make it the default. Chances are those old systems won't be
upgraded to a current gcal anyway. :-)
Though I don't quite understand what the option is meant to do. I
would have thought the needed change would be to use things like
mbswidth() (from gnulib) rather than strlen() to figure out how much
space a string would take. And that I thought would be backward
compatible in a non-UTF-8 locale. But maybe I don't understand this.
>I'll look into it.
Great! :-) (Let me know if I can be of any help.)