ThatOpen / engine_web-ifc

Reading and writing IFC files with Javascript, at native speeds.
https://thatopen.github.io/engine_web-ifc/demo
Mozilla Public License 2.0
617 stars 190 forks source link

Exported IFC File does not encode propertyvalues to ifc unicode again #273

Closed quasarchimaere closed 1 year ago

quasarchimaere commented 1 year ago

Since https://github.com/IFCjs/web-ifc/pull/176 has been merged exporting an open ifc file does not encode the values anymore and thus properties are stored improperly.

Example: Original Line: #283= IFCPROPERTYSET('0m0f03tmn2$uLR5br3Hdyv',#41,'Ph\X2\00E4\X0\sen',$,(#222,#281)); Exported Line: #283=IFCPROPERTYSET('0m0f03tmn2$uLR5br3Hdyv',#41,'Phäsen',$,(#222,#281));

QuimMoya commented 1 year ago

I see... it decodes, but never encodes again.

beachtom commented 1 year ago

This if fixed now