From c2bcd16bf535711763f0b3ac97b2de571225f73c Mon Sep 17 00:00:00 2001 From: Simon Skorokhodov <skorohodovsemen@gmail.com> Date: Wed, 7 Mar 2018 11:38:04 +0100 Subject: [PATCH] Fix build for Erlang < 20 --- src/getopt.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/getopt.erl b/src/getopt.erl index 847a98a..2e2fdc4 100644 --- a/src/getopt.erl +++ b/src/getopt.erl @@ -436,7 +436,7 @@ to_type({Type, _DefaultArg}, Arg) -> to_type(binary, Arg) -> list_to_binary(Arg); to_type(utf8_binary, Arg) -> - unicode:characters_to_nfc_binary(Arg); + unicode:characters_to_binary(Arg); to_type(atom, Arg) -> list_to_atom(Arg); to_type(integer, Arg) -> -- 2.19.0