Modify ↓
#21076 closed defect (duplicate)
Error if file with infinity sign
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Create a file with the infinity sign (∞) such as a Youtube video download of this album: https://en.wikipedia.org/wiki/F%E2%99%AF_A%E2%99%AF_%E2%88%9E
- in JOSM, open an "Open a file" dialog box directing to the directory containing to such file
- Error
What is the expected result?
JOSM opens the directory and shows the file containing the infinity sign.
What happens instead?
Error dialog
Please provide any additional information below. Attach a screenshot if possible.
Obviously, not a major issue as I don't think the infinity sign is often used in file names, but I thought it'd be worth reporting anyway.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-06-02 22:03:39 +0200 (Wed, 02 Jun 2021) Revision:17919 Build-Date:2021-06-02 20:11:30 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (17919 en) Linux Ubuntu 20.04.2 LTS Memory Usage: 469 MB / 3980 MB (321 MB allocated, but free) Java version: 11.0.11+9-Ubuntu-0ubuntu2.20.04, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 3840×2160 (scaling 2.00×2.00) Maximum Screen Size: 3840×2160 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_NL.UTF-8 System property file.encoding: ANSI_X3.4-1968 System property sun.jnu.encoding: ANSI_X3.4-1968 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: KDE Java package: openjdk-11-jre:amd64-11.0.11+9-0ubuntu2~20.04 Java ATK Wrapper package: libatk-wrapper-java:all-0.37.1-1 fonts-noto: fonts-noto:all-20200323-1build1~ubuntu20.04.1 VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true] Plugins: + OpeningHoursEditor (35640) + utilsplugin2 (35691) + wikipedia (1.1.4) Last errors/warnings: - 00011.676 E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: ${HOME}/Godspeed You! Black Emperor - F# A# ��� (Full Album) [1080p]-wy4IsC5eb7o.mkv - 00011.686 E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: ${HOME}/Godspeed You! Black Emperor - F# A# ��� (Full Album) [1080p]-wy4IsC5eb7o.mkv - 00011.701 E: Handled by bug report queue: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: ${HOME}/Godspeed You! Black Emperor - F# A# ��� (Full Album) [1080p]-wy4IsC5eb7o.mkv === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: Basic L&F File Loading Thread (48) java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/(myusername)/Godspeed You! Black Emperor - F# A# ��� (Full Album) [1080p]-wy4IsC5eb7o.mkv at java.base/sun.nio.fs.UnixPath.encode(UnixPath.java:145) at java.base/sun.nio.fs.UnixPath.<init>(UnixPath.java:69) at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:279) at java.base/java.nio.file.Path.of(Path.java:147) at java.base/java.nio.file.Paths.get(Paths.java:69) at java.desktop/sun.awt.shell.ShellFolder.getShellFolder(ShellFolder.java:247) at java.desktop/javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:523) at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run0(BasicDirectoryModel.java:300) at java.desktop/javax.swing.plaf.basic.BasicDirectoryModel$FilesLoader.run(BasicDirectoryModel.java:289) at java.base/java.lang.Thread.run(Thread.java:829)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Closed as duplicate of #14596.
Replying to anonymous:
Please, setup your system to properly support UTF-8 characters