Title: Unpack strings to ASCII-8Bit, not UTF-8 · Issue #40 · msgpack/msgpack-ruby · GitHub
Open Graph Title: Unpack strings to ASCII-8Bit, not UTF-8 · Issue #40 · msgpack/msgpack-ruby
X Title: Unpack strings to ASCII-8Bit, not UTF-8 · Issue #40 · msgpack/msgpack-ruby
Description: MessagePack doesn't know the encoding of any String in a message serialized with MessagePack. Some of the Strings might be byte arrays (since there's no real distinction between Strings and byte arrays in MessagePack), and those will cau...
Open Graph Description: MessagePack doesn't know the encoding of any String in a message serialized with MessagePack. Some of the Strings might be byte arrays (since there's no real distinction between Strings and byte ar...
X Description: MessagePack doesn't know the encoding of any String in a message serialized with MessagePack. Some of the Strings might be byte arrays (since there's no real distinction between Strings and...
Opengraph URL: https://github.com/msgpack/msgpack-ruby/issues/40
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unpack strings to ASCII-8Bit, not UTF-8","articleBody":"MessagePack doesn't know the encoding of any String in a message serialized with MessagePack. Some of the Strings might be byte arrays (since there's no real distinction between Strings and byte arrays in MessagePack), and those will cause problems later when the wrongly-encoded Strings are used where a correct encoding is expected.\n\nI suggest you set the encoding of unpacked Strings to ASCII-8Bit (`Encoding::ASCII_8BIT`). Users of this library who expect a String (not a byte array) will have to use `String#force_encoding` because only they know what unpacked Strings have which encoding.\n","author":{"url":"https://github.com/paddor","@type":"Person","name":"paddor"},"datePublished":"2014-10-04T13:12:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/40/msgpack-ruby/issues/40"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b0c0a00c-ba57-8dbe-4275-5ae9ef411fdb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE18:28BD80:15C3AE7:1DAE90E:6A55D3FA |
| html-safe-nonce | 96274a87fe55ef7b8df953134fca14c232c871918552fe996bbdfd10f41b0128 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTE4OjI4QkQ4MDoxNUMzQUU3OjFEQUU5MEU6NkE1NUQzRkEiLCJ2aXNpdG9yX2lkIjoiMjg3NzE2Mjc4NjIzMjA2Mjk3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b5ea1c800aa0cf20ad26ddfb33bc87840ec4532879333fd5084a0b5958170530 |
| hovercard-subject-tag | issue:44882520 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/msgpack/msgpack-ruby/40/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f09ee83008bc0c4b26050ee0f1cb03d714e6d7208fc6ab860f69dd2658deb6d7/msgpack/msgpack-ruby/issues/40 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f09ee83008bc0c4b26050ee0f1cb03d714e6d7208fc6ab860f69dd2658deb6d7/msgpack/msgpack-ruby/issues/40 |
| og:image:alt | MessagePack doesn't know the encoding of any String in a message serialized with MessagePack. Some of the Strings might be byte arrays (since there's no real distinction between Strings and byte ar... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | paddor |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| go-import | github.com/msgpack/msgpack-ruby git https://github.com/msgpack/msgpack-ruby.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 2479813 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-ruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2479813 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-ruby |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8f8e1726192df8dce16872ceb503336c12e9ae78 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width