use UTF-8 encoding in unit test test_output_to_file
#1494
+1
−1
test_output_to_file
#1494