Since Navigation relies on the the converted foldernames, it means there is no way to have a page with a unicode title.
It seems Ruby has these notorious unicode issues, so perhaps a solution would be, to add a manual override of the default behaviour for extracting navigation items. E.g. in the case of the presence of a specially named .yml file, read the name and title from from that file, instead of inferring it from the parent foldername?
If a folder in content contains unicode characters, it fails to match in
Page.find
on this line of code:disk_path = Dir["#{path}/*#{search_path}/*.yml"]
I'm not sure how to fix it, but it seems
Dir
is a bit allergic to this sort of thing.Example (using bonsai's support content with added folder):
Since
Navigation
relies on the the converted foldernames, it means there is no way to have a page with a unicode title.It seems Ruby has these notorious unicode issues, so perhaps a solution would be, to add a manual override of the default behaviour for extracting navigation items. E.g. in the case of the presence of a specially named
.yml
file, read the name and title from from that file, instead of inferring it from the parent foldername?