Re: [PATCH 1/1] import: ignore file encoding for ovpn configuration file

2016-03-03 Thread Thomas Haller
On Wed, 2016-03-02 at 14:37 -0600, Dan Williams wrote: > On Wed, 2016-03-02 at 12:53 +0100, Thomas Haller wrote: > > > > Openvpn treats ovpn files as ASCII configuration file and > > does not care about a specific certain encoding. As such, > > only encodings that are an extension of ASCII can wor

Re: [PATCH 1/1] import: ignore file encoding for ovpn configuration file

2016-03-02 Thread Dan Williams
On Wed, 2016-03-02 at 12:53 +0100, Thomas Haller wrote: > Openvpn treats ovpn files as ASCII configuration file and > does not care about a specific certain encoding. As such, > only encodings that are an extension of ASCII can work at > all (like iso8859-* or utf8). > > We should not try to handl

[PATCH 1/1] import: ignore file encoding for ovpn configuration file

2016-03-02 Thread Thomas Haller
Openvpn treats ovpn files as ASCII configuration file and does not care about a specific certain encoding. As such, only encodings that are an extension of ASCII can work at all (like iso8859-* or utf8). We should not try to handle configuration files that cannot even be handled by openvpn itself.