Bug 1384 - File extention registration issues on Windows, double-clicking .sr files with umlauts fails
Summary: File extention registration issues on Windows, double-clicking .sr files with...
Status: CONFIRMED
Alias: None
Product: PulseView
Classification: Unclassified
Component: Other (show other bugs)
Version: unreleased development snapshot
Hardware: All Windows
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-16 14:03 CEST by Uwe Hermann
Modified: 2020-01-05 23:06 CET (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Hermann 2019-05-16 14:03:08 CEST
How to reproduce: Create/rename an .sr file to e.g. "ü.sr", double-click it, PV will show an error and not load the file.

Pretty sure this needs to be fixed in NSIS (not PV itself), since manually opening the file from within PV works fine. Linux has no issues with "ü.sr" either.

It's probably just a simple matter of properly quoting or escaping filenames in the NSIS file extension association setup.
Comment 1 Soeren Apel 2020-01-05 23:06:24 CET
Not sure what to do with this one. NSIS doesn't let us specify the supplied file name in the short cut anyway, so the shortcut creation looks ok.

No one seems to have mentioned similar issues with NSIS before, either.

Only things I could find were
https://superuser.com/questions/1301180/cygwin-bash-prompt-here-not-working-with-umlauts
and in turn
https://github.com/mintty/mintty/wiki/Tips#creating-a-folder-context-menu-entry-for-mintty

So might be a Windows issue related to code pages and UTF-8? No idea.