Title: Allow decoding raw strings by jasonpaulos · Pull Request #235 · msgpack/msgpack-javascript · GitHub
Open Graph Title: Allow decoding raw strings by jasonpaulos · Pull Request #235 · msgpack/msgpack-javascript
X Title: Allow decoding raw strings by jasonpaulos · Pull Request #235 · msgpack/msgpack-javascript
Description: This PR adds the ability to skip UTF-8 decoding of strings when you enable the rawStrings decoding option. This is useful because I have encountered some encoded msgpack strings which do not contain valid UTF-8 data, and without a feature like this, it would be impossible to decode them properly. According to the msgpack spec, this ability is encouraged: String objects may contain invalid byte sequence and the behavior of a deserializer depends on the actual implementation when it received invalid byte sequence Deserializers should provide functionality to get the original byte array so that applications can decide how to handle the object
Open Graph Description: This PR adds the ability to skip UTF-8 decoding of strings when you enable the rawStrings decoding option. This is useful because I have encountered some encoded msgpack strings which do not contai...
X Description: This PR adds the ability to skip UTF-8 decoding of strings when you enable the rawStrings decoding option. This is useful because I have encountered some encoded msgpack strings which do not contai...
Opengraph URL: https://github.com/msgpack/msgpack-javascript/pull/235
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2710322d-2b46-40d6-42eb-3ba6f3d1a9c0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 92F6:1DC0B7:1D87866:280F45A:6A540366 |
| html-safe-nonce | dc368d48d6411b05464024cbc450e15ad05b491a704dec1f735069a127dc0182 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkY2OjFEQzBCNzoxRDg3ODY2OjI4MEY0NUE6NkE1NDAzNjYiLCJ2aXNpdG9yX2lkIjoiNTY1NDU5NjI2MjU2MzE1Mjc0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7a1c842e4a1ccbca75c26ecb8afae9cf1c0a5ec6cca1aa20447f94d38ba08ca1 |
| hovercard-subject-tag | pull_request:1579535838 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/msgpack/msgpack-javascript/pull/235/files |
| twitter:image | https://avatars.githubusercontent.com/u/5856867?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5856867?s=400&v=4 |
| og:image:alt | This PR adds the ability to skip UTF-8 decoding of strings when you enable the rawStrings decoding option. This is useful because I have encountered some encoded msgpack strings which do not contai... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/msgpack/msgpack-javascript git https://github.com/msgpack/msgpack-javascript.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 2761854 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2761854 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-javascript |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width