geonode icon indicating copy to clipboard operation
geonode copied to clipboard

UTF-8 encoding not working while adding additonal data via upload to existing dataset

Open saxas13 opened this issue 2 years ago • 2 comments

Expected Behavior

Data which should be added to the existing dataset should be encoded identically to the already uploaded data (e.g. Words with 'ä,ö,ü" should stay the correct way like they are when uploading a new dataset)

Actual Behavior

Special characters (e.g. ä, ü, ö) get trasformed into unreadable strings (e.g. ä, ü, ö)

Steps to Reproduce the Problem

  1. Upload a new dataset with special characters (e.g. ä, ü, ö)
  2. Use "Append data" from the editing tools of that new layer and add additonal data with special characters
  3. check the result, the first uploaded entries will be ok, the appended ones will be broken

Specifications

  • GeoNode version: 3.3.0
  • Installation method (manual, GeoNode Docker, SPCGeoNode Docker): GeoNode Docker
  • Platform: Ubuntu 20.04
  • Additional details:

saxas13 avatar Aug 09 '22 14:08 saxas13

I guess this depends on the encoding specified into the GeoServer layer. You should be able to change it from the GeoServer admin gui

afabiani avatar Aug 24 '22 09:08 afabiani

@afabiani I checked the Geoserver Global Settings, and UTF-8 is predefined. But still i get the problem, that whenever i append data to an existing dataset, the encoding seems to fail while uploading a new dataset the encoding is applied.

image

So it seems more like a bug in the append functionality. As the values are getting written wrong into the database.

image

saxas13 avatar Aug 29 '22 06:08 saxas13