pimutils / pimutils/khal

UTF-8 calendar names not displayed correctly

Open
#649 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cannot reproduce type: bug
Dominant language
Python
Stars
3.1k
Forks
233
Avg merge
1h 44m
Merged PRs (30d)
1

Description

I have a calendar with a greek title, and both in khal printcalendars and in the event editor in ikhal I see a blank space instead of the name. Greek event titles appear correctly.

In the debug logs, I see

Found no or empty file `displayname`

for the greek calendar. And in the config print I get:

debug: Using config:                                                              
debug: [calendars]                                                     
debug:   [[]]
debug: ....

I have metadata = ["displayname", "color"] in vdirsyncer config but the displayname file doesn't get created.
Creating a displayname file in the calendar's vdir shows the calendar name. But I have other calendars in ascii with no displayname files and khal deduces their name from the path correctly (I think).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with a calendar whose name contains Greek characters, checking both khal printcalendars and the event editor in ikhal. Compare the debug output and vdir contents with an ASCII-named calendar, then verify that the Greek calendar name is displayed without requiring a manually created displayname file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.