From fed20c731b91f1debb11a809cc5999d8b04dd293 Mon Sep 17 00:00:00 2001 From: Patrik Nyblom Date: Mon, 22 Nov 2010 16:24:59 +0100 Subject: Teach spawn_executable about Unicode Also corrected compressed files on Windows --- lib/kernel/test/file_name_SUITE.erl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib') 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() -> -- cgit v1.2.3