René's URL Explorer Experiment


Title: fix: strip UTF-8 BOM from .env files by h1whelan · Pull Request #640 · theskumar/python-dotenv · GitHub

Open Graph Title: fix: strip UTF-8 BOM from .env files by h1whelan · Pull Request #640 · theskumar/python-dotenv

X Title: fix: strip UTF-8 BOM from .env files by h1whelan · Pull Request #640 · theskumar/python-dotenv

Description: Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles. - fix: strip UTF-8 BOM from .env files by h1whelan · Pull Request #640 · theskumar/python-dotenv

Open Graph Description: Summary Fixes #637 When a .env file is saved with a UTF-8 BOM (Byte Order Mark), the BOM character (\ufeff) is prepended to the first variable name, making it silently inaccessible via its intended...

X Description: Summary Fixes #637 When a .env file is saved with a UTF-8 BOM (Byte Order Mark), the BOM character (\ufeff) is prepended to the first variable name, making it silently inaccessible via its intended...

Opengraph URL: https://github.com/theskumar/python-dotenv/pull/640

X: @github

direct link

Domain: github.com

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:16e2ca8d-b419-f4b9-72de-1965681e6178
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id85E4:2902A0:68158F:935480:6AFDF129
html-safe-nonceb529146ff4484d5aa2c0d4e3bfb5fe9a3a810dbe16b70a8665ec0a15bdd66231
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUU0OjI5MDJBMDo2ODE1OEY6OTM1NDgwOjZBRkRGMTI5IiwidmlzaXRvcl9pZCI6IjkxNTY2OTkxNjEwNzQ5ODczMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace8dab7bdf00d9e5348c837dbfc512aecb5722b0886754f06a0cf51dc8556799d
hovercard-subject-tagpull_request:3465318354
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/theskumar/python-dotenv/640/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/60e66ba3bc5e2dbdf7972a318a33de01b2a72f8bc4eb4b5a7392316d9b3b1fd3/theskumar/python-dotenv/pull/640
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/60e66ba3bc5e2dbdf7972a318a33de01b2a72f8bc4eb4b5a7392316d9b3b1fd3/theskumar/python-dotenv/pull/640
og:image:altSummary Fixes #637 When a .env file is saved with a UTF-8 BOM (Byte Order Mark), the BOM character (\ufeff) is prepended to the first variable name, making it silently inaccessible via its intended...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameh1whelan
hostnamegithub.com
expected-hostnamegithub.com
Nonedd812ec581ecac95855f5ec917ef9827506c39a9da1443f43ddb4179a46471eb
turbo-cache-controlno-cache
go-importgithub.com/theskumar/python-dotenv git https://github.com/theskumar/python-dotenv.git
octolytics-dimension-user_id236356
octolytics-dimension-user_logintheskumar
octolytics-dimension-repository_id23727790
octolytics-dimension-repository_nwotheskumar/python-dotenv
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id23727790
octolytics-dimension-repository_network_root_nwotheskumar/python-dotenv
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release32ac708bac264dafdc28e10ff49b4d137f0c34a7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/theskumar/python-dotenv/pull/640#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftheskumar%2Fpython-dotenv%2Fpull%2F640
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%2Ftheskumar%2Fpython-dotenv%2Fpull%2F640
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=theskumar%2Fpython-dotenv
Reloadhttps://github.com/theskumar/python-dotenv/pull/640
Reloadhttps://github.com/theskumar/python-dotenv/pull/640
Reloadhttps://github.com/theskumar/python-dotenv/pull/640
theskumarhttps://github.com/theskumar
python-dotenvhttps://github.com/theskumar/python-dotenv
Codehttps://github.com/theskumar/python-dotenv
Issues52 (52)https://github.com/theskumar/python-dotenv/issues
Pull requests74 (74)https://github.com/theskumar/python-dotenv/pulls
Actionshttps://github.com/theskumar/python-dotenv/actions
Wikihttps://github.com/theskumar/python-dotenv/wiki
Security and quality1 (1)https://github.com/theskumar/python-dotenv/security
Insightshttps://github.com/theskumar/python-dotenv/pulse
https://github.com/theskumar/python-dotenv
theskumarhttps://github.com/theskumar
theskumar:mainhttps://github.com/theskumar/python-dotenv/tree/main
Conversationhttps://github.com/theskumar/python-dotenv/pull/640
Commits2 (2)https://github.com/theskumar/python-dotenv/pull/640/commits
Checkshttps://github.com/theskumar/python-dotenv/pull/640/checks
Files changedhttps://github.com/theskumar/python-dotenv/pull/640/files
fix: strip UTF-8 BOM from .env fileshttps://github.com/theskumar/python-dotenv/pull/640#top
theskumarhttps://github.com/theskumar
theskumar:mainhttps://github.com/theskumar/python-dotenv/tree/main
https://github.com/h1whelan
h1whelanhttps://github.com/h1whelan
Mar 30, 2026https://github.com/theskumar/python-dotenv/pull/640#issue-4169041683
#637https://github.com/theskumar/python-dotenv/issues/637
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/640
h1whelanhttps://github.com/h1whelan
March 30, 2026 10:17https://github.com/theskumar/python-dotenv/pull/640#commits-pushed-dfc5543
https://github.com/h1whelan
https://github.com/claude
Fix: strip UTF-8 BOM from .env files to prevent silent first-variable…https://github.com/theskumar/python-dotenv/pull/640/commits/dfc5543b90d7da91f796d0e57b325e55917ebcd0
dfc5543https://github.com/theskumar/python-dotenv/pull/640/commits/dfc5543b90d7da91f796d0e57b325e55917ebcd0
#637https://github.com/theskumar/python-dotenv/issues/637
https://github.com/theskumar
docs: add changelog entry for BOM fixhttps://github.com/theskumar/python-dotenv/pull/640/commits/640311b11271e487b8fc27707267ad28369a0a51
640311bhttps://github.com/theskumar/python-dotenv/pull/640/commits/640311b11271e487b8fc27707267ad28369a0a51
https://github.com/theskumar
theskumarhttps://github.com/theskumar
Apr 19, 2026https://github.com/theskumar/python-dotenv/pull/640#issuecomment-4276665831
@h1whelanhttps://github.com/h1whelan
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/640
https://github.com/theskumar
theskumarhttps://github.com/theskumar
Apr 19, 2026https://github.com/theskumar/python-dotenv/pull/640#event-24654979765
https://github.com/theskumar
theskumarhttps://github.com/theskumar
bca6644https://github.com/theskumar/python-dotenv/commit/bca6644d9aedbe287b792b756b3ae3d650cd0d3a
Apr 19, 2026https://github.com/theskumar/python-dotenv/pull/640#event-24654983729
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/640
https://github.com/angel-masterdoc
angel-masterdochttps://github.com/angel-masterdoc
Apr 20, 2026https://github.com/theskumar/python-dotenv/pull/640#issuecomment-4278881048
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/640
https://github.com/h1whelan
h1whelanhttps://github.com/h1whelan
April 20, 2026 08:07https://github.com/theskumar/python-dotenv/pull/640#event-24667380496
https://github.com/MohammedAlkindi
MohammedAlkindihttps://github.com/MohammedAlkindi
Aug 20, 2026 https://github.com/theskumar/python-dotenv/pull/640#ref-pullrequest-5201689035
fix: preserve a leading BOM when set_key and unset_key rewrite a file #687 https://github.com/theskumar/python-dotenv/pull/687
https://github.com/MohammedAlkindi
MohammedAlkindihttps://github.com/MohammedAlkindi
Nov 16, 2026 https://github.com/theskumar/python-dotenv/pull/640#ref-pullrequest-6428512768
fix: preserve a leading BOM when set_key and unset_key rewrite a file #755 https://github.com/theskumar/python-dotenv/pull/755
https://github.co/hiddenchars
https://github.com/theskumar/python-dotenv/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftheskumar%2Fpython-dotenv%2Fpull%2F640
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/640
First environment variable in a .env file is silently ignored on a file with BOM (Byte Order Mark) format https://github.com/theskumar/python-dotenv/issues/637
Please reload this pagehttps://github.com/theskumar/python-dotenv/pull/640
https://github.com/h1whelan
https://github.com/theskumar
https://github.com/angel-masterdoc
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.