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
Benedikt Werner 2021-09-02 22:21:10 +02:00
parent 72908518c4
commit a46eb557e3
No known key found for this signature in database
GPG Key ID: 1DBFF0F8E9E121EB
1 changed files with 1 additions and 1 deletions

View File

@ -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,