On Saturday 02 February 2013 17:47:40 David Sommerseth wrote:
> Wouldn't this approach solve it in an easier way?
>
>int offset = 0;
>if (line_num == 1 && strncmp (line, "\xEF\xBB\xBF", 3) == 0)
> offset = 3
>
>if (parse_line (line+offset, p, SIZE (p), file,
On 22/01/13 12:36, Heiko Hund wrote:
> Currently openvpn exits when reading configuration from a file
> that has an UTF-8 byte order mark (EF BB BF) at its start.
>
> While it is useless to put a BOM into UTF-8 encoded files, the
> Unicode standard [1] permits it (on page 36):
>
> "Use of a
Currently openvpn exits when reading configuration from a file
that has an UTF-8 byte order mark (EF BB BF) at its start.
While it is useless to put a BOM into UTF-8 encoded files, the
Unicode standard [1] permits it (on page 36):
"Use of a BOM is neither required nor recommended for UTF-8,