diff options
author | Siri Hansen <[email protected]> | 2013-02-07 14:24:44 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2013-02-21 11:03:35 +0100 |
commit | 0cdef40e8e3d41234802a350329a215b25ca220c (patch) | |
tree | 89f953854dee79fdbf01f614028b58f5ea82aa18 | |
parent | d7b92c70da6dfc47fd94d10a41860569b8acf7db (diff) | |
download | otp-0cdef40e8e3d41234802a350329a215b25ca220c.tar.gz otp-0cdef40e8e3d41234802a350329a215b25ca220c.tar.bz2 otp-0cdef40e8e3d41234802a350329a215b25ca220c.zip |
[reltool] Add unicode option to re:compile to allow unicode filenames
-rw-r--r-- | lib/reltool/src/reltool_utils.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reltool/src/reltool_utils.erl b/lib/reltool/src/reltool_utils.erl index 90831ecac7..87d28c7373 100644 --- a/lib/reltool/src/reltool_utils.erl +++ b/lib/reltool/src/reltool_utils.erl @@ -600,7 +600,7 @@ decode_regexps(Key, Regexps, _Old) when is_list(Regexps) -> throw({error, "Illegal option: " ++ Text}). do_decode_regexps(Key, [Regexp | Regexps], Acc) -> - case catch re:compile(Regexp, []) of + case catch re:compile(Regexp, [unicode]) of {ok, MP} -> do_decode_regexps(Key, Regexps, |