René's URL Explorer Experiment


Title: IfcConvert Windows unicode support by aothms · Pull Request #258 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: IfcConvert Windows unicode support by aothms · Pull Request #258 · IfcOpenShell/IfcOpenShell

X Title: IfcConvert Windows unicode support by aothms · Pull Request #258 · IfcOpenShell/IfcOpenShell

Description: The idea is that all std::string file paths are assumed to be UTF-8 encoded. Therefore function signatures remain unchanged and behaviour is the same on nix and win. On nix UTF-8 paths work by default, on Windows this requires a constant back-and-forth conversion from UCS2/UTF-16 to UTF-8. Therefore the majority of changes are in IfcConvert that does need to have a wchar_t entry point for windows to accept arguments in unicode. There are explicit IfcUtil::path::to/from_utf8() calls scattered throughout the code and a typedef path_t based on preprocessor directives. Perhaps path_t can be a class instead with implicit constructors from and casts to std::string and std::wstring. This to make the code in IfcConvert more readable.

Open Graph Description: The idea is that all std::string file paths are assumed to be UTF-8 encoded. Therefore function signatures remain unchanged and behaviour is the same on nix and win. On nix UTF-8 paths work by defa...

X Description: The idea is that all std::string file paths are assumed to be UTF-8 encoded. Therefore function signatures remain unchanged and behaviour is the same on nix and win. On nix UTF-8 paths work by defa...

Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/pull/258

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:84ba1a5c-1470-c44f-8e39-36746ac85293
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC12A:339F25:5B0AB:7E187:6B04A5E4
html-safe-noncec2f4774ac103d7f3479fbb1882dfb2cfa252e2da35aada4e21774cdf457bb6d2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTJBOjMzOUYyNTo1QjBBQjo3RTE4Nzo2QjA0QTVFNCIsInZpc2l0b3JfaWQiOiI4ODY1NDQ5ODM1MjMxNDg3NDYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccf3dafa20b4871100f8793b37554027cf37486fe5a6c96fc6202186617d152b1
hovercard-subject-tagpull_request:140768799
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files
twitter:imagehttps://avatars.githubusercontent.com/u/1096535?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1096535?s=400&v=4
og:image:altThe idea is that all std::string file paths are assumed to be UTF-8 encoded. Therefore function signatures remain unchanged and behaviour is the same on nix and win. On nix UTF-8 paths work by defa...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git
octolytics-dimension-user_id13692563
octolytics-dimension-user_loginIfcOpenShell
octolytics-dimension-repository_id40473201
octolytics-dimension-repository_nwoIfcOpenShell/IfcOpenShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id40473201
octolytics-dimension-repository_network_root_nwoIfcOpenShell/IfcOpenShell
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release557cfbac6cdb532730c95c90f2cefdc0c4128029
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fpull%2F258%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fpull%2F258%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/pull/258/files
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/pull/258/files
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/pull/258/files
IfcOpenShellhttps://github.com/IfcOpenShell
IfcOpenShellhttps://github.com/IfcOpenShell/IfcOpenShell
Codehttps://github.com/IfcOpenShell/IfcOpenShell
Issues1.2k (1.2k)https://github.com/IfcOpenShell/IfcOpenShell/issues
Pull requests937 (937)https://github.com/IfcOpenShell/IfcOpenShell/pulls
Discussionshttps://github.com/IfcOpenShell/IfcOpenShell/discussions
Actionshttps://github.com/IfcOpenShell/IfcOpenShell/actions
Projectshttps://github.com/IfcOpenShell/IfcOpenShell/projects
Wikihttps://github.com/IfcOpenShell/IfcOpenShell/wiki
Security and qualityhttps://github.com/IfcOpenShell/IfcOpenShell/security
Insightshttps://github.com/IfcOpenShell/IfcOpenShell/insights
Sign up for GitHub https://github.com/signup?return_to=%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2Fnew%2Fchoose
aothmshttps://github.com/aothms
IfcOpenShell:masterhttps://github.com/IfcOpenShell/IfcOpenShell/tree/master
aothms:windows_unicode_2https://github.com/aothms/IfcOpenShell/tree/windows_unicode_2
Conversation 5 https://github.com/IfcOpenShell/IfcOpenShell/pull/258
Commits 5 https://github.com/IfcOpenShell/IfcOpenShell/pull/258/commits
Checks 0 https://github.com/IfcOpenShell/IfcOpenShell/pull/258/checks
Files changed https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/258/files
IfcConvert Windows unicode support https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#top
Show all changes 5 commits https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files
bfa4f74 IfcConvert Windows unicode support aothms Sep 12, 2017 https://github.com/IfcOpenShell/IfcOpenShell/pull/258/commits/bfa4f7474a3d917dff7c12b3718d1a18035ecae3
e1b0717 Cleanup read_filters_from_file() aothms Sep 13, 2017 https://github.com/IfcOpenShell/IfcOpenShell/pull/258/commits/e1b07177100604aae3ba68a2a22ca0fc0ae4bd8a
74cdc1d cerr_ instead of cerr aothms Sep 13, 2017 https://github.com/IfcOpenShell/IfcOpenShell/pull/258/commits/74cdc1d2c19f48eb005f409be210d7ed4fb9df7f
fe6f70b delete_file() typo aothms Sep 13, 2017 https://github.com/IfcOpenShell/IfcOpenShell/pull/258/commits/fe6f70bf9b35ac68f4aa58a08f90c11d771e9183
14c58cf Merge branch 'master' into windows_unicode_2 aothms Feb 8, 2019 https://github.com/IfcOpenShell/IfcOpenShell/pull/258/commits/14c58cf0a31af1cd676dd4e79cba3cf27ba92e10
Clear filters https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/258/files
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/258/files
ColladaSerializer.cpp https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-251b4d6f0b6fbc3a4ede6898f380d78e1a8ff4dc27ddcbdf81e677683208578d
ColladaSerializer.h https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-c57b2f3e4c120767564d6a17f22ab91b58977d16134e12acdfe2d9c319bd1387
IfcConvert.cpp https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-090feb54886a4903823c6f85f2f482bf7a0e715a08e24dd7da1f9a338a221f1c
OpenCascadeBasedSerializer.cpp https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-35ad7d719d1cccf228b17e4091f75939533fd4d3a3bb1153be6affe9804fff44
SvgSerializer.h https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-6af9f11fbefb95030c2bd92abe6c5710bbcc077aadf6cdd6880353a82f1aac9d
WavefrontObjSerializer.cpp https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-fec6d485c3cebb1c82ea1a22b2135cb5980b58c7e0f99a007e5b5ed16b80620f
WavefrontObjSerializer.h https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-c89bb77b6dc1e58fce92835ad6a1e717506f2f736498f13bddd79ce4281ce1e7
XmlSerializer.cpp https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-6ebbc89188a2e51bd1b4b8b6723c181495ee6fd9ec45e22f75071b1dd022942d
IfcGeomRenderStyles.cpp https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-8441b9e28010db352172dd4ac2c6ede308963f923fcfcb31fcdf975286250b13
Argument.h https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-310f06e6adf2a53baf410f4ea4be96fccbf44d1b35991a10cb4abb460741a2f7
IfcLogger.cpp https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-8716a1832c9df8680d1d04964760f009c73d92bbc855ec9ba85bd0d66e56313b
IfcLogger.h https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-583767a47f687fa46ad5e107083d7ca39ae5afce0a8d5d86e76a86aa44f13697
IfcParse.cpp https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-b040b6c3201487d58cce8bdf084d9299d961719c7f722ca4802855a2f3daa818
IfcUtil.cpp https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-890c1db77394a9381d772387e20ec4777aade93a49607db72856ac72649baa23
utils.h https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-28e9cfe0195a93bd792ae40231601221f86e55079f21db52f06cf04b8f2ed3e3
src/ifcconvert/ColladaSerializer.cpphttps://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-251b4d6f0b6fbc3a4ede6898f380d78e1a8ff4dc27ddcbdf81e677683208578d
View file https://github.com/aothms/IfcOpenShell/blob/14c58cf0a31af1cd676dd4e79cba3cf27ba92e10/src/ifcconvert/ColladaSerializer.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/258/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-251b4d6f0b6fbc3a4ede6898f380d78e1a8ff4dc27ddcbdf81e677683208578d
https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-251b4d6f0b6fbc3a4ede6898f380d78e1a8ff4dc27ddcbdf81e677683208578d
src/ifcconvert/ColladaSerializer.hhttps://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-c57b2f3e4c120767564d6a17f22ab91b58977d16134e12acdfe2d9c319bd1387
View file https://github.com/aothms/IfcOpenShell/blob/14c58cf0a31af1cd676dd4e79cba3cf27ba92e10/src/ifcconvert/ColladaSerializer.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/258/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-c57b2f3e4c120767564d6a17f22ab91b58977d16134e12acdfe2d9c319bd1387
https://github.com/IfcOpenShell/IfcOpenShell/pull/258/files#diff-c57b2f3e4c120767564d6a17f22ab91b58977d16134e12acdfe2d9c319bd1387
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/258/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.