lib/rmpd/connection.rb in rmpd-1.1.3 vs lib/rmpd/connection.rb in rmpd-1.1.4
- old
+ new
@@ -61,10 +61,10 @@
end
def read_response
response = []
- while (line = @socket.readline)
+ while (line = @socket.readline.force_encoding("UTF-8"))
response << line.strip
break if END_RE === line
end
response
end