diff options
author | Patrik Nyblom <[email protected]> | 2010-11-22 16:24:59 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2010-11-30 16:33:17 +0100 |
commit | fed20c731b91f1debb11a809cc5999d8b04dd293 (patch) | |
tree | 801b87703f713758c2e339792555501b0e012f7b /lib | |
parent | 9622ab2132e2501ee5769357a914dcc6635e515c (diff) | |
download | otp-fed20c731b91f1debb11a809cc5999d8b04dd293.tar.gz otp-fed20c731b91f1debb11a809cc5999d8b04dd293.tar.bz2 otp-fed20c731b91f1debb11a809cc5999d8b04dd293.zip |
Teach spawn_executable about Unicode
Also corrected compressed files on Windows
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kernel/test/file_name_SUITE.erl | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/kernel/test/file_name_SUITE.erl b/lib/kernel/test/file_name_SUITE.erl index 57c4353f36..c96621d036 100644 --- a/lib/kernel/test/file_name_SUITE.erl +++ b/lib/kernel/test/file_name_SUITE.erl @@ -745,12 +745,7 @@ rand_comp_decomp(Max) -> L = [ rand_decomp() || _ <- lists:seq(1,N) ], LC = [ A || {A,_} <- L], LD = lists:flatten([B || {_,B} <- L]), - LB = case os:type() of - {win32,_} -> - unicode:characters_to_binary(LD,unicode,{utf16,little}); - _ -> - unicode:characters_to_binary(LD,unicode,utf8) - end, + LB = unicode:characters_to_binary(LD,unicode,utf8), {LC,LB}. rand_decomp() -> |