I'm using Application.FileDialog(msoFileDialogFolderPicker)
to pick a folder and it handles well folders with utf8 names.
But when I try to Debug.Print
the result of SelectedItems(1)
or save it to a config file or do anything, I loose the accents of the folder.
For example:
Original folder:
"D:\Śākta"
'Debug.Print' or saving into an utf8 file result saves:
"D:\Sakta"
(removed all the accents)
The problem is that I try to save the selected folder to a config file and when I try to load it, next time it will of course won't recognize as a real folder because of the missing accents.
How to get the real name of the folder with the accents to be able to save it after, not this "representation" of it?
Update: Just checked, and even the InputBox kills the accents!