Closed Adrian62D closed 2 years ago
This is actually intended behavior when the --deref flag isn't present, but I could go either way but I lean towards preserving it. --deref however is kind of catch all at this point.. it turns object references into values, but also does this string decoding.
The IFC spec does this encoding on purpose, and I see some value in preserving this when the output is trying to relay the most literal representation.
I think this has been addressed. Note, the deref'd version has correct decoded of extended characters incl umlauts. Let me know if not/
Steps to reproduce:
Download the sample ifc.
Run:
node src/main.js SEESTRASSE.ifc > seestrasse.json
Expected result:
Umlauts are encoded in UTF-8.
Actual result: