Skip to content

Maybe remove non ASCII characters from filenames #603

@alienbogart

Description

@alienbogart

I write in Portuguese, and I write fiction. So I may write a note with the following title: "Hoje não é meu dia". That will put "hoje-não-é-meu-dia" on the filename. That is not ideal because I use git-timemachine to browse through previous commits, and I just realized that it freaks out if there is non-ASCII in the filename. I imagine there are other reasons to avoid weird characters in filenames. But I do want "Hoje não é meu dia" in the #+title because that is the language in which I write, and when I export my story, I want it to have the correct title. Right now, I have to manually change the title back after every command that renames the file. That is not ideal. Ideally, the filename should be ASCII, but the frontmatter (including keywords) should be allowed to have non-ASCII. Perhaps in such a way that filename and frontmatter understood each other. "ã" would be "a", "é" would be "e", "ç" would b e "c", etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions