OpenVPN/openvpn3-linux
9
20
Fork
You've already forked openvpn3-linux
9

no Unicode Support #97

Open
opened 2026年05月13日 09:56:20 +02:00 by ASCII_is_shit · 0 comments

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

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
Sign in to join this conversation.
No Branch/Tag specified
master
releaseprep/v27.1
dev/core-update-wip
dev/cb89-inactive-fix
releaseprep/v26
dev/gh-issue-14-asio-include-dir
v27.1
v27.1_rc1
v27
v26
v25
v24.1
v24
v23
v22_dev
v21
v20
v19_beta
v19_betaRC1
v18_beta
v18_betaRC3
v18_betaRC2
v18_betaRC
v17_betaUb2204
v17_beta
v16_beta
v15_beta
v14_beta
v13_beta
v12_beta
v11_beta
v10_beta
v9_beta
v8_beta
v7_beta
v6_beta
v5_beta
v4_beta
v3_beta
v2_beta
v1_beta
Labels
Clear labels
Access Server
Issue related to connecting/integration with OpenVPN Access Server
addon-aws
openvpn3-service-aws / net.openvpn.v3.aws, AWS-VPC integration add-on
addon-devposture
openvpn3-service-devposture / net.openvpn.v3.devposture, Device Posture Check (DPC) service
Awaiting external feedback
Feedback from an external party is needed to continue investigation
build
Issue is related to the build system (meson) or general compilation issues
cli-openvpn2
OpenVPN 2 compat wrapper utility
cli-openvpn3
openvpn3 command line
cli-openvpn3-admin
openvpn3-admin command line
cli-openvpn3-as
OpenVPN Access Server profile download utility
Cloud Connexa
Issue related to connecting to the Cloud Connexa service
common
Shared code across modules
Development done
A fix has been applied to git master
distro-support
OS distribution support
duplicate
This is a duplicate issue of another issue ticket.
Enhancement
Proposal for an enhancement
GitHub
Issue transfered from GitHub
Infrastructure
Issue related to the infrastructure for builds, package repositories, etc
Investigating
The issue is being investigated by a project developer
OpenVPN 3 Core
Issue needs to be resolved in the OpenVPN 3 Core Library
openvpn3-systemd
systemd integration (openvpn3-session@.service, helper tools)
python
The openvpn3 Python module
service-backendstart
openvpn3-service-backendstart / net.openvpn.v3.backends, VPN client service starter
service-client
openvpn3-service-client / net.openvpn.v3.backends.be$PID, Backend VPN client service
service-configmgr
openvpn3-service-configmgr / net.openvpn.v3.configuration, Configuration Profile Manager
service-log
openvpn3-service-log / net.openvpn.v3.log, Log collector service
service-netcfg
openvpn3-service-netcfg / net.openvpn.v3.netcfg, Network Configuration Manager
service-sessionmgr
openvpn3-service-sessionmgr / net.openvpn.v3.sessions, VPN sessions manager
Support
Issue is a support question, not a bug
tests programs
Issue is related to code in src/tests
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
OpenVPN/openvpn3-linux#97
Reference in a new issue
OpenVPN/openvpn3-linux
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?