René's URL Explorer Experiment


Title: Automatic UTF-8 string encoding in Ruby 1.9 can cause unexpected results · Issue #7 · msgpack/msgpack-ruby · GitHub

Open Graph Title: Automatic UTF-8 string encoding in Ruby 1.9 can cause unexpected results · Issue #7 · msgpack/msgpack-ruby

X Title: Automatic UTF-8 string encoding in Ruby 1.9 can cause unexpected results · Issue #7 · msgpack/msgpack-ruby

Description: If encoding is available, unpacked strings are always encoded using UTF-8. This can cause problems if the packed string data was meant to use a different encoding such as ASCII-8BIT. For example, sha = '0123456789aabbcdfeff01234567890123...

Open Graph Description: If encoding is available, unpacked strings are always encoded using UTF-8. This can cause problems if the packed string data was meant to use a different encoding such as ASCII-8BIT. For example, s...

X Description: If encoding is available, unpacked strings are always encoded using UTF-8. This can cause problems if the packed string data was meant to use a different encoding such as ASCII-8BIT. For example, s...

Opengraph URL: https://github.com/msgpack/msgpack-ruby/issues/7

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Automatic UTF-8 string encoding in Ruby 1.9 can cause unexpected results","articleBody":"If encoding is available, unpacked strings are always encoded using UTF-8.  This can cause problems if the packed string data was meant to use a different encoding such as ASCII-8BIT.  For example,\n\n``` ruby\nsha    = '0123456789aabbcdfeff01234567890123456789'\n\npacked = [sha].pack('H*')\n=\u003e \"\\x01#Eg\\x89\\xAA\\xBB\\xCD\\xFE\\xFF\\x01#Eg\\x89\\x01#Eg\\x89\"\n\npacked.encoding\n=\u003e #\u003cEncoding:ASCII-8BIT\u003e\n\nhash   = {packed =\u003e 1}\n=\u003e {\"\\x01#Eg\\x89\\xAA\\xBB\\xCD\\xFE\\xFF\\x01#Eg\\x89\\x01#Eg\\x89\"=\u003e1}\n\nrehash = MessagePack.unpack(hash.to_msgpack)\n=\u003e {\"\\u0001#Eg\\x89\\xAA\\xBB\\xCD\\xFE\\xFF\\u0001#Eg\\x89\\u0001#Eg\\x89\"=\u003e1}\n\nhash.has_key? packed\n=\u003e true\n\nrehash.has_key? packed\n=\u003e false\n\nirb(main):085:0\u003e rehash.keys.map{|k| k.encode('BINARY')}\nEncoding::InvalidByteSequenceError: \"\\x89\" on UTF-8\n    from (irb):85:in `encode'\n    from (irb):85:in `block in irb_binding'\n    from (irb):85:in `map'\n    from (irb):85\n    from /opt/boxen/rbenv/versions/1.9.3/bin/irb:12:in `\u003cmain\u003e'\n```\n","author":{"url":"https://github.com/nickh","@type":"Person","name":"nickh"},"datePublished":"2013-02-27T01:29:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/7/msgpack-ruby/issues/7"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2944d70e-f0bd-b88a-20ec-aa9b63f18135
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD580:27480A:B0AB44:FFCB6E:6A5623B1
html-safe-noncedcecb3a0986eacf3ade120e52338476857ecf4e23b78a39c60322742a806ffbe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTgwOjI3NDgwQTpCMEFCNDQ6RkZDQjZFOjZBNTYyM0IxIiwidmlzaXRvcl9pZCI6IjI0NjkwNTc4OTI4NjkwODgxNzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac47802b22d758d571805c49b81421ee0bd25a41cda65d15edbba5c149118a97f1
hovercard-subject-tagissue:11437777
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/msgpack/msgpack-ruby/7/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5546281371281de404577d0e13ebe32c954e4bc2f1e2f3209af508c48291068a/msgpack/msgpack-ruby/issues/7
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5546281371281de404577d0e13ebe32c954e4bc2f1e2f3209af508c48291068a/msgpack/msgpack-ruby/issues/7
og:image:altIf encoding is available, unpacked strings are always encoded using UTF-8. This can cause problems if the packed string data was meant to use a different encoding such as ASCII-8BIT. For example, s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenickh
hostnamegithub.com
expected-hostnamegithub.com
Noneeeb71977be324ce2bc7c4afd597296b8e3527d8922ad94632edd7a7296f8031b
turbo-cache-controlno-preview
go-importgithub.com/msgpack/msgpack-ruby git https://github.com/msgpack/msgpack-ruby.git
octolytics-dimension-user_id198264
octolytics-dimension-user_loginmsgpack
octolytics-dimension-repository_id2479813
octolytics-dimension-repository_nwomsgpack/msgpack-ruby
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id2479813
octolytics-dimension-repository_network_root_nwomsgpack/msgpack-ruby
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
release3e7957744c8a44d05ff1e464dc5d119e60b98fae
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/msgpack/msgpack-ruby/issues/7#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-ruby%2Fissues%2F7
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%2Fmsgpack%2Fmsgpack-ruby%2Fissues%2F7
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=msgpack%2Fmsgpack-ruby
Reloadhttps://github.com/msgpack/msgpack-ruby/issues/7
Reloadhttps://github.com/msgpack/msgpack-ruby/issues/7
Reloadhttps://github.com/msgpack/msgpack-ruby/issues/7
Please reload this pagehttps://github.com/msgpack/msgpack-ruby/issues/7
msgpack https://github.com/msgpack
msgpack-rubyhttps://github.com/msgpack/msgpack-ruby
Notifications https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-ruby
Fork 124 https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-ruby
Star 789 https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-ruby
Code https://github.com/msgpack/msgpack-ruby
Issues 2 https://github.com/msgpack/msgpack-ruby/issues
Pull requests 1 https://github.com/msgpack/msgpack-ruby/pulls
Actions https://github.com/msgpack/msgpack-ruby/actions
Projects https://github.com/msgpack/msgpack-ruby/projects
Security and quality 1 https://github.com/msgpack/msgpack-ruby/security
Insights https://github.com/msgpack/msgpack-ruby/pulse
Code https://github.com/msgpack/msgpack-ruby
Issues https://github.com/msgpack/msgpack-ruby/issues
Pull requests https://github.com/msgpack/msgpack-ruby/pulls
Actions https://github.com/msgpack/msgpack-ruby/actions
Projects https://github.com/msgpack/msgpack-ruby/projects
Security and quality https://github.com/msgpack/msgpack-ruby/security
Insights https://github.com/msgpack/msgpack-ruby/pulse
Automatic UTF-8 string encoding in Ruby 1.9 can cause unexpected resultshttps://github.com/msgpack/msgpack-ruby/issues/7#top
https://github.com/nickh
nickhhttps://github.com/nickh
on Feb 27, 2013https://github.com/msgpack/msgpack-ruby/issues/7#issue-11437777
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.