video: Enforce sheet encoding to be UTF-8
Google doesn't send an encoding in the Content-Type and Play assumes some ISO encoding for text.pull/9714/head
parent
72908518c4
commit
a46eb557e3
|
@ -70,7 +70,7 @@ final private class VideoSheet(
|
|||
ws.url(url).get() flatMap {
|
||||
case res if res.status == 200 =>
|
||||
Future {
|
||||
res.body.linesIterator
|
||||
res.bodyAsBytes.utf8String.linesIterator
|
||||
.map { line =>
|
||||
com.github.tototoshi.csv.CSVParser(
|
||||
input = line,
|
||||
|
|
Loading…
Reference in New Issue