Title: UTF-8 issues making a written file unreadable bu IFC software (f.ex Solibri) · Issue #699 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: UTF-8 issues making a written file unreadable bu IFC software (f.ex Solibri) · Issue #699 · IfcOpenShell/IfcOpenShell
X Title: UTF-8 issues making a written file unreadable bu IFC software (f.ex Solibri) · Issue #699 · IfcOpenShell/IfcOpenShell
Description: I have an issue with editing an IFC file with IfcOpenShell. If the file contains an character from f.ex the skandinavian alphabet (æ ø å) it reads it just fine, but writes it differently and the file becomes unreadable. Read parameter (u...
Open Graph Description: I have an issue with editing an IFC file with IfcOpenShell. If the file contains an character from f.ex the skandinavian alphabet (æ ø å) it reads it just fine, but writes it differently and the fi...
X Description: I have an issue with editing an IFC file with IfcOpenShell. If the file contains an character from f.ex the skandinavian alphabet (æ ø å) it reads it just fine, but writes it differently and the fi...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/699
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"UTF-8 issues making a written file unreadable bu IFC software (f.ex Solibri)","articleBody":"I have an issue with editing an IFC file with IfcOpenShell.\r\nIf the file contains an character from f.ex the skandinavian alphabet (æ ø å) it reads it just fine, but writes it differently and the file becomes unreadable.\r\n\r\nRead parameter (unicode = D\\X2\\00F8\\X0\\r = Dør) :\r\n`2921= IFCBUILDINGELEMENTPROXYTYPE('3QPADpsq71CHeCe7e3GDm5',#32,'D\\X2\\00F8\\X0\\r',$,$,$,$,'DA64A373-DB41-C131-1A0C-A07A0340DC05',$,.NOTDEFINED.);`\r\n\r\nIts Printed as Dør so it decodes it fine.\r\n\r\nIt writes the same element as \r\n`2921=IFCBUILDINGELEMENTPROXYTYPE('3QPADpsq71CHeCe7e3GDm5',#32,'D\\X4\\000000F8\\X0\\r',$,$,$,$,'DA64A373-DB41-C131-1A0C-A07A0340DC05',$,.NOTDEFINED.);`\r\n\r\nword is \"Dør\"\r\nso the read vs written is ; `'D\\X2\\00F8\\X0\\r'` vs `'D\\X4\\000000F8\\X0\\r'`\r\nthe written is unreadable for the IFC software i've tried and makes the .ifc file \"corrupt\"\r\n\r\ni've tried this to sort this out, but my skills with coding just isnt good enough yet and the workaround i used was to convert the values i added to the file. Open the same .ifc file as txt, then pasted the old file ontop, so that i had the \"old\" file with the new additions.\r\nThis however does not work when trying to change exsisting values. \r\n\r\nAny suggestions? i'm loosing my hair over this....","author":{"url":"https://github.com/Tmagga","@type":"Person","name":"Tmagga"},"datePublished":"2019-10-22T12:55:07Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/699"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:29cf7e8d-63c1-244d-8eb3-24cfda5873a8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E6CA:92683:6087FB:85057B:6B0476AD |
| html-safe-nonce | eb26804056c1029168b1c7077fedd6038b7fbf2b4d62ecfef1231e2d9bd8862b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkNBOjkyNjgzOjYwODdGQjo4NTA1N0I6NkIwNDc2QUQiLCJ2aXNpdG9yX2lkIjoiNjUyOTQ1NDM3MjE2NzY1NjEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 15e5df1969e955cd26626ba8c12fbe6d6b17a8052382bee935a2d29020565267 |
| hovercard-subject-tag | issue:510636495 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/699/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6c04016f0b9554d7b4444014f0192b3faf40ecf440fe49ab353834080d8c45e7/IfcOpenShell/IfcOpenShell/issues/699 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6c04016f0b9554d7b4444014f0192b3faf40ecf440fe49ab353834080d8c45e7/IfcOpenShell/IfcOpenShell/issues/699 |
| og:image:alt | I have an issue with editing an IFC file with IfcOpenShell. If the file contains an character from f.ex the skandinavian alphabet (æ ø å) it reads it just fine, but writes it differently and the fi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Tmagga |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width