Environment:
- Ubuntu 24.04
- openvpn3-linux
- Locale: UTF-8
Problem:
The openvpn3 config-import command cannot import .ovpn files whose filenames contain non-ASCII characters.
Example:
openvpn3 config-import --config Läptop.ovpn --name Laptop-IPv4 --persistent
Result:
ERR_PROFILE_GENERIC: cannot open for read: Lptop.ovpn
It appears that the character ä is either dropped or processed incorrectly.
Expected behavior:
The file should be opened and imported correctly even when the filename contains UTF-8 characters.
Additional information:
- Bash tab completion works correctly.
- The terminal uses UTF-8.
- Other programs can open the file without issues.
- Renaming the file to an ASCII-only name (e.g.
laptop.ovpn) works as a workaround.
Additionally, CONFIG_NAME values also appear to be restricted to ASCII, as shown here (fails):
openvpn3 config-import --config Brandon.ovpn --name äöü --persistent
openvpn3 sessions-list
openvpn3 session-start --config äöü
openvpn3 session-manage --config äöü --disconnect
Version:
OpenVPN3 Linux v27 (openvpn3)
OpenVPN core v3.11.6 linux x86_64 64-bit