René's URL Explorer Experiment


Title: Simplify UTF8 StrPtr usage by filmor · Pull Request #2374 · pythonnet/pythonnet · GitHub

Open Graph Title: Simplify UTF8 StrPtr usage by filmor · Pull Request #2374 · pythonnet/pythonnet

X Title: Simplify UTF8 StrPtr usage by filmor · Pull Request #2374 · pythonnet/pythonnet

Description: Default to UTF8 for StrPtr, as that is used in all but one case.

Open Graph Description: Default to UTF8 for StrPtr, as that is used in all but one case.

X Description: Default to UTF8 for StrPtr, as that is used in all but one case.

Opengraph URL: https://github.com/pythonnet/pythonnet/pull/2374

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9c66f5c2-d6cd-a829-b9d2-465bbb10c5b1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC578:37D417:304E7E4:30F8867:69702E24
html-safe-noncef385af98d84c12772ea1229b05f83a9b0f0cfa3bc0e5b83c82d19ac90acb371b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTc4OjM3RDQxNzozMDRFN0U0OjMwRjg4Njc6Njk3MDJFMjQiLCJ2aXNpdG9yX2lkIjoiODkyMjk5NTQ5OTI1MzkwMjg4NCIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9
visitor-hmac96b1bded462371b550ee0128454c878988529bd83734859b752f481ea7d80b73
hovercard-subject-tagpull_request:1856024263
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/pythonnet/pythonnet/pull/2374/files
twitter:imagehttps://avatars.githubusercontent.com/u/30848?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/30848?s=400&v=4
og:image:altDefault to UTF8 for StrPtr, as that is used in all but one case.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None01fa379f5de85ef8e791d09724e69709ce9eb9595278316e0a921312dc88e0bc
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git
octolytics-dimension-user_id6050430
octolytics-dimension-user_loginpythonnet
octolytics-dimension-repository_id14748123
octolytics-dimension-repository_nwopythonnet/pythonnet
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14748123
octolytics-dimension-repository_network_root_nwopythonnet/pythonnet
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
releasedda91974c069382b0dfa47b2da7e28bd061c8331
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pythonnet/pythonnet/pull/2374/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fpull%2F2374%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fpull%2F2374%2Ffiles
Sign up https://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=pythonnet%2Fpythonnet
Reloadhttps://github.com/pythonnet/pythonnet/pull/2374/files
Reloadhttps://github.com/pythonnet/pythonnet/pull/2374/files
Reloadhttps://github.com/pythonnet/pythonnet/pull/2374/files
pythonnet https://github.com/pythonnet
pythonnethttps://github.com/pythonnet/pythonnet
Notifications https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Fork 770 https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Star 5.4k https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Code https://github.com/pythonnet/pythonnet
Issues 155 https://github.com/pythonnet/pythonnet/issues
Pull requests 18 https://github.com/pythonnet/pythonnet/pulls
Discussions https://github.com/pythonnet/pythonnet/discussions
Actions https://github.com/pythonnet/pythonnet/actions
Projects 0 https://github.com/pythonnet/pythonnet/projects
Wiki https://github.com/pythonnet/pythonnet/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/pythonnet/pythonnet/security
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/2374/files
Insights https://github.com/pythonnet/pythonnet/pulse
Code https://github.com/pythonnet/pythonnet
Issues https://github.com/pythonnet/pythonnet/issues
Pull requests https://github.com/pythonnet/pythonnet/pulls
Discussions https://github.com/pythonnet/pythonnet/discussions
Actions https://github.com/pythonnet/pythonnet/actions
Projects https://github.com/pythonnet/pythonnet/projects
Wiki https://github.com/pythonnet/pythonnet/wiki
Security https://github.com/pythonnet/pythonnet/security
Insights https://github.com/pythonnet/pythonnet/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpythonnet%2Fpythonnet%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpythonnet%2Fpythonnet%2Fissues%2Fnew%2Fchoose
filmorhttps://github.com/filmor
masterhttps://github.com/pythonnet/pythonnet/tree/master
simplify-utf8-strptrhttps://github.com/pythonnet/pythonnet/tree/simplify-utf8-strptr
Conversation 0 https://github.com/pythonnet/pythonnet/pull/2374
Commits 4 https://github.com/pythonnet/pythonnet/pull/2374/commits
Checks 0 https://github.com/pythonnet/pythonnet/pull/2374/checks
Files changed https://github.com/pythonnet/pythonnet/pull/2374/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/2374/files
Simplify UTF8 StrPtr usage https://github.com/pythonnet/pythonnet/pull/2374/files#top
Show all changes 4 commits https://github.com/pythonnet/pythonnet/pull/2374/files
4c46c6d Use non-BOM encodings filmor May 4, 2024 https://github.com/pythonnet/pythonnet/pull/2374/commits/4c46c6d4bdf0175f55f498c1ca2d6ebb7a0fc8d5
dc6f5ef Copy potential BOM to the output of PyString_FromString filmor May 5, 2024 https://github.com/pythonnet/pythonnet/pull/2374/commits/dc6f5efb7905ff695d244a65e0afc161be6ef1af
12eda97 Default to UTF8 for StrPtr filmor May 6, 2024 https://github.com/pythonnet/pythonnet/pull/2374/commits/12eda979a24f77eeed4b03e392b185b9f3dc4fae
a9e835c Merge branch 'master' into simplify-utf8-strptr filmor Jun 8, 2024 https://github.com/pythonnet/pythonnet/pull/2374/commits/a9e835cef07b42d3151af0e258d384c3941dbc32
Clear filters https://github.com/pythonnet/pythonnet/pull/2374/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/2374/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/2374/files
TestPyType.cs https://github.com/pythonnet/pythonnet/pull/2374/files#diff-8c64962ab8d15842c76b431791be676bb77ebbaccb60355577009e60b60a91fe
NativeTypeSpec.cs https://github.com/pythonnet/pythonnet/pull/2374/files#diff-f8b7101cf56b14e3e43b8ca1cb9e3c6782a752af57978c25a4aad4b7fc7dd5a7
StrPtr.cs https://github.com/pythonnet/pythonnet/pull/2374/files#diff-59c8da0353d8f781873cbe379586b83a6dab642a28f2ac5cfad8f67f5f0c4bda
Runtime.cs https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
src/embed_tests/TestPyType.cshttps://github.com/pythonnet/pythonnet/pull/2374/files#diff-8c64962ab8d15842c76b431791be676bb77ebbaccb60355577009e60b60a91fe
View file https://github.com/pythonnet/pythonnet/blob/a9e835cef07b42d3151af0e258d384c3941dbc32/src/embed_tests/TestPyType.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/2374/{{ revealButtonHref }}
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-8c64962ab8d15842c76b431791be676bb77ebbaccb60355577009e60b60a91fe
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-8c64962ab8d15842c76b431791be676bb77ebbaccb60355577009e60b60a91fe
src/runtime/Native/NativeTypeSpec.cshttps://github.com/pythonnet/pythonnet/pull/2374/files#diff-f8b7101cf56b14e3e43b8ca1cb9e3c6782a752af57978c25a4aad4b7fc7dd5a7
View file https://github.com/pythonnet/pythonnet/blob/a9e835cef07b42d3151af0e258d384c3941dbc32/src/runtime/Native/NativeTypeSpec.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/2374/{{ revealButtonHref }}
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-f8b7101cf56b14e3e43b8ca1cb9e3c6782a752af57978c25a4aad4b7fc7dd5a7
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-f8b7101cf56b14e3e43b8ca1cb9e3c6782a752af57978c25a4aad4b7fc7dd5a7
src/runtime/Native/StrPtr.cshttps://github.com/pythonnet/pythonnet/pull/2374/files#diff-59c8da0353d8f781873cbe379586b83a6dab642a28f2ac5cfad8f67f5f0c4bda
View file https://github.com/pythonnet/pythonnet/blob/a9e835cef07b42d3151af0e258d384c3941dbc32/src/runtime/Native/StrPtr.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/2374/{{ revealButtonHref }}
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-59c8da0353d8f781873cbe379586b83a6dab642a28f2ac5cfad8f67f5f0c4bda
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-59c8da0353d8f781873cbe379586b83a6dab642a28f2ac5cfad8f67f5f0c4bda
src/runtime/Runtime.cshttps://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
View file https://github.com/pythonnet/pythonnet/blob/a9e835cef07b42d3151af0e258d384c3941dbc32/src/runtime/Runtime.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/2374/{{ revealButtonHref }}
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
https://github.com/pythonnet/pythonnet/pull/2374/files#diff-010beffcb32e19ccddb5f2d7b87077b1606b7b4acc4c22d6803091b7a53ba8c2
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

Viewport: width=device-width


URLs of crawlers that visited me.