-
Notifications
You must be signed in to change notification settings - Fork 213
khal shows a question mark after calendar entries #640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The font you are using is probably missing some symbols used by khal.
Those question marks should probably by arrow-circles.
You can replace them by ascii symbols with setting `[locale]
unicode_symbols = False` in the configuration file.
Quoting andreas-bulling (2017-05-02 15:15:48)
… Hi,
for some reason, khal is showing a question mark after most of the calendar events although (if I look at these events in MacOS's calendar application) I did not add any. I also noticed that German Umlaute (non-ascii) are not shown properly in khal although utf-8 otherwise works fine in the same console (iterm2) and the Umlaute are shown properly in MacOS's Calendar. Maybe related?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#640
|
Thanks a lot for your quick reply. With this option it now shows a "R" behind these entries... Which font are we supposed to use that fully supports the symbols used by khal? As I said, otherwise I don't have any problem with UTF-8 support in my terminal... |
The R or circle is supposed to indicate that this is a repeating event,
the circle symbol is U+27F3 'CLOCKWISE GAPPED CIRLE'.
I expected it to be one of the more common non-ascii symbols, but to my
surprise I just realized it isn't the font I'm using either, so it must
be some kind of fallback font, perhaps Symbola
(http://users.teilar.gr/~g1951d/).
We really should add this to the FAQ.
Quoting andreas-bulling (2017-05-02 15:34:19)
… Thanks a lot for your quick reply. With this option it now shows a "R" behind these entries...
Which font are we supposed to use that fully supports the symbols used by khal? As I said, otherwise I don't have any problem with UTF-8 support in my terminal...
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#640 (comment)
|
ok... Well, what about simply showing the "R" in brackets behind the title (i.e. "$title (R)") instead of this fancy (and apparently difficult to properly support) symbol? |
What's the output of `echo ⟳' (you can retype this on gtk apps with ctrl+shift+u27f3)? It seems you do have problems, since this is plain utf-8. |
I'm open to replacing |
@hobarrera I am on MacOSX/iterm. If you let me know what I have to type there I am happy to test. As I said before, I didn't notice any problems with UTF-8 so far in any other software. |
Can you copy-paste the above character? I've no idea about macOS/OS X/iterm. You're saying you've no issues with Unicode, but this bug report seems tonne about your terminal not properly supporting Unicode on some level. |
I copied and pasted and it shows properly in my terminal |
Huh, that's odd/curious. What's the output of each of these commands:
|
The first and third return the desired symbol, the second returns With python 3.6.1 all three return the desired symbol, i.e. seems to be a Python (version) problem. |
The way we wall this in python is this Also, which version of khal and python are you using? |
python 2.7.13: \N{Clockwise gapped circle arrow} khal: 0.9.5 |
Hi, I find the unicode's cool, but, when disabled, the "R" can easily be confused with khal's pretty nice, btw :) |
What confuses me is that no-one has managed to reproduce the problem by simply running For those who see the issue, can you make sure you're not somehow running khal with python2 (python2 is unsupported, and |
Well, in my case issuing |
@uqam-fob So, it sound to me like the font is missing the glyphs, and there's no fallback font configured? Maybe your terminal supports having a fallback font (eg: like urxvt, termite). |
@hobarrera You are correct, there is no fallback font. Just to make sure that the focus is on the right thing, I added |
Well, I just re-read my comment in the context of the issue and created #657. As for the issue at hand, I would consider it is installation- or font-related. I can't think of any sane way to protect against the latter. For the first, maybe @andreas-bulling can tell how he managed to install/use khal with python2. |
@uqam-fob I simply installed it using homebrew
|
I just checked |
@andreas-bulling Can you confirm that that is the |
same binary:
|
Is there a way to contact the homebrew maintainer of khal? Perhaps they have an idea of what's going on. Or, as a last resort, open an issue at homebrew? I'm already put off by their strange nomenclature though, and this doesn't seem to list a maintainer. |
possibly related urwid bug: urwid/urwid#286 |
As I now have frequent access to a Mac I can confirm that this is indeed a case of urwid/urwid#286. |
As discussed in urwid/urwid#286, this is an issue of wrongly set locale. E.g. setting the locale to |
Hi,
for some reason, khal is showing a question mark after most of the calendar events although (if I look at these events in MacOS's calendar application) I did not add any. I also noticed that German Umlaute (non-ascii) are not shown properly in khal although utf-8 otherwise works fine in the same console (iterm2) and the Umlaute are shown properly in MacOS's Calendar. Maybe related?
The text was updated successfully, but these errors were encountered: