15 lines
659 B
Diff
15 lines
659 B
Diff
--- rubyripper/rr_lib.rb 2010-10-16 18:02:03.700000029 +0800
|
|
+++ rubyripper/rr_lib.rb 2010-10-16 22:27:46.060000028 +0800
|
|
@@ -2331,8 +2331,8 @@
|
|
|
|
command = String.new
|
|
command.force_encoding("UTF-8") if command.respond_to?("force_encoding")
|
|
- command +="flac #{@settings['flacsettings']} -o \"#{filename}\" #{tags}\
|
|
-\"#{@out.getTempFile(track, 1)}\""
|
|
+ command +="flac #{@settings['flacsettings'].force_encoding("UTF-8")} -o \"#{filename.force_encoding("UTF-8")}\" #{tags.force_encoding("UTF-8")}\
|
|
+\"#{@out.getTempFile(track, 1).force_encoding("UTF-8")}\""
|
|
command += " 2>&1" unless @settings['verbose']
|
|
|
|
checkCommand(command, track, 'flac')
|
|
|