geonode
geonode copied to clipboard
UTF-8 encoding not working while adding additonal data via upload to existing dataset
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
- Upload a new dataset with special characters (e.g. ä, ü, ö)
- Use "Append data" from the editing tools of that new layer and add additonal data with special characters
- 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:
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 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.
So it seems more like a bug in the append functionality. As the values are getting written wrong into the database.