René's URL Explorer Experiment


Title: Handle "UnicodeDecodeError" on some msoffice files by ferstar · Pull Request #192 · ahupp/python-magic · GitHub

Open Graph Title: Handle "UnicodeDecodeError" on some msoffice files by ferstar · Pull Request #192 · ahupp/python-magic

X Title: Handle "UnicodeDecodeError" on some msoffice files by ferstar · Pull Request #192 · ahupp/python-magic

Description: A python wrapper for libmagic. Contribute to ahupp/python-magic development by creating an account on GitHub.

Open Graph Description: Some MSoffice files' description msg may contain some other encoding characters not 'utf8', and this cause "UnicodeDecodeError". msword.docx fp = '/Users/ferstar/Downloads...

X Description: Some MSoffice files' description msg may contain some other encoding characters not 'utf8', and this cause "UnicodeDecodeError". msword.docx fp = '...

Opengraph URL: https://github.com/ahupp/python-magic/pull/192

X: @github

direct link

Domain: github.com

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:1aac032a-6b46-a1b1-fd03-9f836c2f802a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD728:163413:F28F73:1627D46:6A575A4E
html-safe-nonce353e9dc9dc32c9a128a2496d16f747b2e5cc51e068d62dc1017ddf39faf499e5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzI4OjE2MzQxMzpGMjhGNzM6MTYyN0Q0Njo2QTU3NUE0RSIsInZpc2l0b3JfaWQiOiI1MzgyMTQwNDY4MDY2MjEyNDMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac341310976c2fb8b505a080dae69b0b6856a6891edeb0a74cd9a9b58b2ca8d2f1
hovercard-subject-tagpull_request:279427137
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/ahupp/python-magic/192/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4afdd1b4794e1c09572accf7df441fafd265f6c0302bd5858033a3041cc1c1a9/ahupp/python-magic/pull/192
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4afdd1b4794e1c09572accf7df441fafd265f6c0302bd5858033a3041cc1c1a9/ahupp/python-magic/pull/192
og:image:altSome MSoffice files' description msg may contain some other encoding characters not 'utf8', and this cause "UnicodeDecodeError". msword.docx fp = '/Users/ferstar/Downloads...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameferstar
hostnamegithub.com
expected-hostnamegithub.com
None4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98
turbo-cache-controlno-cache
go-importgithub.com/ahupp/python-magic git https://github.com/ahupp/python-magic.git
octolytics-dimension-user_id40594
octolytics-dimension-user_loginahupp
octolytics-dimension-repository_id589189
octolytics-dimension-repository_nwoahupp/python-magic
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id589189
octolytics-dimension-repository_network_root_nwoahupp/python-magic
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
release87685a1c739dbf97e95760413799bb0221799457
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ahupp/python-magic/pull/192#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fahupp%2Fpython-magic%2Fpull%2F192
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fahupp%2Fpython-magic%2Fpull%2F192
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=ahupp%2Fpython-magic
Reloadhttps://github.com/ahupp/python-magic/pull/192
Reloadhttps://github.com/ahupp/python-magic/pull/192
Reloadhttps://github.com/ahupp/python-magic/pull/192
ahupp https://github.com/ahupp
python-magichttps://github.com/ahupp/python-magic
Notifications https://github.com/login?return_to=%2Fahupp%2Fpython-magic
Fork 304 https://github.com/login?return_to=%2Fahupp%2Fpython-magic
Star 2.9k https://github.com/login?return_to=%2Fahupp%2Fpython-magic
Code https://github.com/ahupp/python-magic
Issues 24 https://github.com/ahupp/python-magic/issues
Pull requests 4 https://github.com/ahupp/python-magic/pulls
Actions https://github.com/ahupp/python-magic/actions
Projects https://github.com/ahupp/python-magic/projects
Wiki https://github.com/ahupp/python-magic/wiki
Security and quality 0 https://github.com/ahupp/python-magic/security
Insights https://github.com/ahupp/python-magic/pulse
Code https://github.com/ahupp/python-magic
Issues https://github.com/ahupp/python-magic/issues
Pull requests https://github.com/ahupp/python-magic/pulls
Actions https://github.com/ahupp/python-magic/actions
Projects https://github.com/ahupp/python-magic/projects
Wiki https://github.com/ahupp/python-magic/wiki
Security and quality https://github.com/ahupp/python-magic/security
Insights https://github.com/ahupp/python-magic/pulse
ferstarhttps://github.com/ferstar
ahupp:masterhttps://github.com/ahupp/python-magic/tree/master
ferstar:masterhttps://github.com/ferstar/python-magic/tree/master
Conversationhttps://github.com/ahupp/python-magic/pull/192
Commits5 (5)https://github.com/ahupp/python-magic/pull/192/commits
Checkshttps://github.com/ahupp/python-magic/pull/192/checks
Files changedhttps://github.com/ahupp/python-magic/pull/192/files
Handle "UnicodeDecodeError" on some msoffice fileshttps://github.com/ahupp/python-magic/pull/192#top
ferstarhttps://github.com/ferstar
ahupp:masterhttps://github.com/ahupp/python-magic/tree/master
ferstar:masterhttps://github.com/ferstar/python-magic/tree/master
https://github.com/ferstar
ferstarhttps://github.com/ferstar
May 16, 2019https://github.com/ahupp/python-magic/pull/192#issue-444857188
Please reload this pagehttps://github.com/ahupp/python-magic/pull/192
msword.docxhttps://github.com/ahupp/python-magic/files/3186434/msword.docx
Please reload this pagehttps://github.com/ahupp/python-magic/pull/192
https://github.com/ferstar
Handle "UnicodeDecodeError" on some msoffice fileshttps://github.com/ahupp/python-magic/pull/192/commits/b93d4efb8cb5a7ef01f29274f5c0e17a2e2edb1d
b93d4efhttps://github.com/ahupp/python-magic/pull/192/commits/b93d4efb8cb5a7ef01f29274f5c0e17a2e2edb1d
https://github.com/codecov-io
codecov-iohttps://github.com/codecov-io
May 16, 2019https://github.com/ahupp/python-magic/pull/192#issuecomment-492998753
Please reload this pagehttps://github.com/ahupp/python-magic/pull/192
Codecovhttps://codecov.io/gh/ahupp/python-magic/pull/192?src=pr&el=h1
#192https://codecov.io/gh/ahupp/python-magic/pull/192?src=pr&el=desc
masterhttps://codecov.io/gh/ahupp/python-magic/commit/8753c3cf284c1b83eaf0dd0f520400ec7652ee81?src=pr&el=desc
https://codecov.io/gh/ahupp/python-magic/pull/192?src=pr&el=tree
Impacted Fileshttps://codecov.io/gh/ahupp/python-magic/pull/192?src=pr&el=tree
test/test.pyhttps://codecov.io/gh/ahupp/python-magic/pull/192/diff?src=pr&el=tree#diff-dGVzdC90ZXN0LnB5
magic.pyhttps://codecov.io/gh/ahupp/python-magic/pull/192/diff?src=pr&el=tree#diff-bWFnaWMucHk=
Continue to review full report at Codecovhttps://codecov.io/gh/ahupp/python-magic/pull/192?src=pr&el=continue
Click here to learn morehttps://docs.codecov.io/docs/codecov-delta
Codecovhttps://codecov.io/gh/ahupp/python-magic/pull/192?src=pr&el=footer
8753c3c...55f45edhttps://codecov.io/gh/ahupp/python-magic/pull/192?src=pr&el=lastupdated
comment docshttps://docs.codecov.io/docs/pull-request-comments
Please reload this pagehttps://github.com/ahupp/python-magic/pull/192
ferstarhttps://github.com/ferstar
May 16, 2019 17:49https://github.com/ahupp/python-magic/pull/192#commits-pushed-da4a8ac
https://github.com/ferstar
Remove print loghttps://github.com/ahupp/python-magic/pull/192/commits/da4a8ac197a95b3c7461c13f10cbf7bb3f0e0fd2
da4a8achttps://github.com/ahupp/python-magic/pull/192/commits/da4a8ac197a95b3c7461c13f10cbf7bb3f0e0fd2
https://github.com/ferstar
Add test casehttps://github.com/ahupp/python-magic/pull/192/commits/084532c286e59b8907a0feb9d6e4bd1cd11cf0ec
084532chttps://github.com/ahupp/python-magic/pull/192/commits/084532c286e59b8907a0feb9d6e4bd1cd11cf0ec
https://github.com/ferstar
Add test case codehttps://github.com/ahupp/python-magic/pull/192/commits/693af1d878e94f5786f23996b56ab486140abc1c
693af1dhttps://github.com/ahupp/python-magic/pull/192/commits/693af1d878e94f5786f23996b56ab486140abc1c
https://github.com/ferstar
Delete test_descriptions of "msword.doc" because of the encoding Syta…https://github.com/ahupp/python-magic/pull/192/commits/55f45edc1957dc7d9242dd88960dc0967be0eee8
55f45edhttps://github.com/ahupp/python-magic/pull/192/commits/55f45edc1957dc7d9242dd88960dc0967be0eee8
https://github.com/ahupp
ahupphttps://github.com/ahupp
Dec 12, 2019https://github.com/ahupp/python-magic/pull/192#issuecomment-564870920
Please reload this pagehttps://github.com/ahupp/python-magic/pull/192
https://github.com/ferstar
ferstarhttps://github.com/ferstar
Dec 12, 2019https://github.com/ahupp/python-magic/pull/192#issuecomment-564898534
Please reload this pagehttps://github.com/ahupp/python-magic/pull/192
https://github.com/ferstar
ferstarhttps://github.com/ferstar
Dec 12, 2019https://github.com/ahupp/python-magic/pull/192#event-2876983109
https://github.co/hiddenchars
https://github.com/ahupp/python-magic/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%2Fahupp%2Fpython-magic%2Fpull%2F192
Please reload this pagehttps://github.com/ahupp/python-magic/pull/192
https://github.com/ferstar
https://github.com/codecov-io
https://github.com/ahupp
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.