2

I'm trying to export shpfile from a postgis to shape-zip . So i issue the standard GetFeature request with shape-zip as format to geoserver. The shpfile which i get Charset is ISO-8859-1 so the chinese is '????' . How can i change the iso-8859-1 to utf-8?

postgis charset is utf-8 and geoserver global charset is utf-8

enter image description here

user23493
  • 21
  • 1

1 Answers1

1

Add this to your GET request: format_options=CHARSET:UTF-8

Kresinho
  • 71
  • 3
  • It's clear why this answer is right - it sets charset. That's it. There is no explanation needed, at least for GIS developers. – Kresinho Sep 21 '17 at 16:26