We have a text file with extended ascii (words like 'Systèmes' and 'Café'). It is in Google Cloud Storage. Its Content-Type is text/csv. If I download it via the browser UI (https://console.cloud.google.com/storage/browser/...) all of the characters are correct. However, If I download it from java, using the code below, I get crap for each of the extended ascii characters.
Blob blob = storage.get(blobId);
String fileContent = new String(blob.getContent());
List lines = new ArrayList(Arrays.asList(fileContent.split("\\r?\\n")));
The file is, I believe, UTF-8 encoded. Thanks!