Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

file links with utf-8 characters don't work in windows

  • 8 antwoorden
  • 2 hebben dit probleem
  • 155 weergaven
  • Laatste antwoord van aq21

more options

When I click a link like "file:///C:\символы UTF-8\path" to open in Windows File Explorer it doesn't work. ("My documents" folder opens instead). How can such links be converted to Windows encoding, when Windows File Explorer is called?

My settings: network.protocol-handler.expose.file = false network.protocol-handler.external.file = true

FF 27, Windows 7 Thank you!

Alle antwoorden (8)

more options

If you start from file:///C:/ and click your way to that folder, then right-click the address bar > Copy can you see any difference from the URL that doesn't work?

more options

By the way, version 27 is not secure; Mozilla discloses security flaws after each new release. Is something holding you back from upgrading to Firefox 29? Please let us know so we can suggest solutions or workarounds.

P.S. Firefox 30 will be released later this week.

more options

jscher2000, thank you for the care! If I copy the link from the page body and put it in address bar, it works, and is coded with %xx. But it doesn't work from page inline - when a call to Windows File Explorer is made. The link works when network.protocol-handler.expose.file = true but not when false.

Can I use in Firefox 30 the old interface (not Australis)? Thank you!

Bewerkt door aq21 op

more options

May be the problem is that Firefox calls explorer.exe (or other Windows programs to handle a file) encoding the filename with %-encoding, which is not recognized by the application. Or FF uses encodeing not compatible with program called.

Bewerkt door aq21 op

more options

Hmm, does Firefox use a different URL than IE does? Or does IE convert it to a more file-system friendly syntax when passing it to the file system?

Regarding the interface of Firefox 30, you will need an extension to make any heavy modifications to the UI. This one is popular: https://addons.mozilla.org/firefox/addon/classicthemerestorer/

more options

I think the problem can be that:

Calling Windows application from the link on UTF-8 page, Firefox sends a parameter (filename) encoded in UTF-8, which is not accepted by Windows application in case of non-latin characters. Workaround needed.

more options

You can use extensions like Classic Theme Restorer and code in userChrome.css to restore a lot of the changes that were made to Firefox when the Australis appearance landed.

See also:

more options

I spent many days customizing Firefox and am not going to start over, again. I'm not a specialist in coding userChrome.css, am very busy with other stuff. It's better if developers restore ALL of the changes once, than thousands of users will spend many days each. Dixi.

Anyway, my main question is:

How to make Firefox send a parameter (filename) to a Windows application, encoded in Windows-1251 instead of UTF-8?

Would be very grateful.