I use transliterated Sanskrit in my content, which has tons of diacritics, and I’ve never had an issue using them in folder or file names. The only place I’ve found they do not work is when assigning an ID to a block in a note. So something like ^ātma would have to be ^atma.