7

I was assuming that Google spreadsheet exports UTF-8 encoded CSVs. However, this does not seem to be the case — my German Umlauts, etc. (äüöß, etc.) are not recognized, i.e., when opening the file in XLS.

Here is an example file: Link

ale
  • 52,972
  • 42
  • 165
  • 314
Kay
  • 203
  • 1
  • 2
  • 8

2 Answers2

4

Actually, Google Sheets exports to CSV using UTF-8.

In Excel, instead of using double-click to open a CSV file, use the Text Import Wizard as it allows to select the "File origin".

On the "File Origin" field, select 65001: Unicode (UTF-8).

Excel's Text Import Wizard

Rubén - Volunteer Moderator -
  • 46,305
  • 18
  • 101
  • 297
0

I question that Google is exporting CSVs as UTF-8. I exported a sheet as csv and ran the following bash command:

file -I "file_name.csv" 

and it returns...

file_name.csv: text/plain; charset=us-ascii

Not sure if it matters, but used a Chrome browser for this.

Edward
  • 1