I have problems with foreign characters (åäö ÅÄÖ) in hyperlinks using the excel writer.
This works(no foreign characters in hyperlink path):
file_path = 1312-P11-47-00054.pdf
file_path.hyperlink = C:\\work\\table_extraction\\fme\\template_files\\FME_2019_04_24-14_38_13.3\\xml\\09_Administrativa foreskrifter\\1312-P11-47-00054.pdf
This does not work(foreign characters in hyperlink path):
file_path = 1312-P11-47-00054.pdf
file_path.hyperlink = C:\\work\\table_extraction\\fme\\template_files\\FME_2019_04_24-14_38_13.3\\xml\\09_Administrativa föreskrifter\\1312-P11-47-00054.pdf
In the Excel output I always get something like this when hovering the hyperlink when the foreign characters are in the path:
file:///C:\\work\\table_extraction\\fme\\template_files\\FME_2019_04_24-14_38_13.3\\zz.xlsx
The excel file seems to link to itself which is wrong. Its quite strange that the start of the chop off is the \\xml\\.
I have tried many different things with encodings etc but failed so far. Anyone have any ideas?