This issue describes problems with special characters in the project name and other fields from metadata.json.
To Reproduce
Steps to reproduce the behavior:
Create a project with special characters in the project name ("Testing äüöß").
Close OpenRefine and check metadata.json (everything ok!)
Reopen OpenRefine and check special characters in the project name ("Testing äüöß").
Close OpenRefine and check metadata.json (not ok!)
Reopen OpenRefine and check special characters in the project name ("Testing äüöß")
Current Results
The special characters are somehow completely wrong and their number doubles with each restart of OpenRefine.
Expected Behavior
Reading and writing metadata to metadata.json preserves special characters.
Screenshots
After creating the project (step 1):
First restart (step 3):
Second restart (step 5):
Versions
Operating System: Windows 10
Browser Version: Firefox 95
JRE: 11.0.13 (using the bundled version "openrefine-win-with-java-3.5.1.zip")
OpenRefine: observed in 3.5.0, 3.5.1 and 3.5.2
Additional context
The list of garbled up characters grows exponentially which results in realy large metadata.json files and OutOfMemory errors.
This might be related or even be the same problem as described in Out of memory errors from large metadata.json files being parsed during OpenRefine Project Open #3431 .
I also observed this problem in metadata.json in the fields .importOptionMetadata and .preferences.entries."exporters.templating.template".
This issue describes problems with special characters in the project name and other fields from
metadata.json.To Reproduce
Steps to reproduce the behavior:
metadata.json(everything ok!)metadata.json(not ok!)Current Results
The special characters are somehow completely wrong and their number doubles with each restart of OpenRefine.
Expected Behavior
Reading and writing metadata to
metadata.jsonpreserves special characters.Screenshots
After creating the project (step 1):
First restart (step 3):
Second restart (step 5):
Versions
Additional context
metadata.jsonfiles and OutOfMemory errors.metadata.jsonin the fields.importOptionMetadataand.preferences.entries."exporters.templating.template".