1

I want to export an attribute table to Excel. I see XyTools is used for that (is there another plugin?). Since I installed QGIS from OSGeo4W, I have the required library. However, when I tell XyTools to export the table, I get the following Python error message: UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 0: ordinal not in range(128) because my table contains nonASCII characters, which is not that unusual, especially for foreign languages. My question is: Is there a fix or workaround this issue or another plugin to export an attribute table to Excel?

the error message

dmci
  • 4,882
  • 2
  • 19
  • 31
Marko
  • 11
  • 1

2 Answers2

2

You can use Save As from the layer popup menu to save attribute table to a CSV file which can be opened by Excel.

Zoltan
  • 7,325
  • 17
  • 27
0

If your layer is a shapefile, you can also open the *.dbf file with Excel and save it as *.xls format.

wiltomap
  • 2,690
  • 2
  • 22
  • 52
  • Yes, I know about saving to CSV file and opening a DBF. I was looking for a more direct way, and frankly, can't believe XY Tools can be so limited not to handle Unicode :o – Marko Jan 22 '16 at 18:31