UTF-8 calendar names not displayed correctly
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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