Title: Error - Cannot read property 'isEncoding' of undefined · Issue #18 · nodejs/string_decoder · GitHub
Open Graph Title: Error - Cannot read property 'isEncoding' of undefined · Issue #18 · nodejs/string_decoder
X Title: Error - Cannot read property 'isEncoding' of undefined · Issue #18 · nodejs/string_decoder
Description: Hi, iam trying to use iconv-lite library in my ionic5 app, but when i tried to encode some string i get this error: core.js:6014 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'isEncoding' of undefined TypeError: Can...
Open Graph Description: Hi, iam trying to use iconv-lite library in my ionic5 app, but when i tried to encode some string i get this error: core.js:6014 ERROR Error: Uncaught (in promise): TypeError: Cannot read property ...
X Description: Hi, iam trying to use iconv-lite library in my ionic5 app, but when i tried to encode some string i get this error: core.js:6014 ERROR Error: Uncaught (in promise): TypeError: Cannot read property ...
Opengraph URL: https://github.com/nodejs/string_decoder/issues/18
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error - Cannot read property 'isEncoding' of undefined","articleBody":"Hi, iam trying to use iconv-lite library in my ionic5 app, but when i tried to encode some string i get this error:\r\n`core.js:6014 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'isEncoding' of undefined TypeError: Cannot read property 'isEncoding' of undefined at Object../node_modules/string_decoder/lib/string_decoder.js (string_decoder.js:29) at __webpack_require__ (bootstrap:84) at Object../node_modules/iconv-lite/encodings/internal.js (internal.js:49) at __webpack_require__ (bootstrap:84) at Object../node_modules/iconv-lite/encodings/index.js (index.js:6) at __webpack_require__ (bootstrap:84) at Object.getCodec (index.js:65) at Object.getEncoder (index.js:117) at Object.encode (index.js:22) at PrintService.testEncode (print.service.ts:26) at resolvePromise (zone-evergreen.js:797) at zone-evergreen.js:862 at ZoneDelegate.invokeTask (zone-evergreen.js:391) at Object.onInvokeTask (core.js:39680) at ZoneDelegate.invokeTask (zone-evergreen.js:390) at Zone.runTask (zone-evergreen.js:168) at drainMicroTaskQueue (zone-evergreen.js:559) at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:469) at invokeTask (zone-evergreen.js:1603) at HTMLElement.globalZoneAwareCallback (zone-evergreen.js:1629)`\r\n\r\nThis looks like a problem with unknown encoding, but i call it correctly:\r\niconv.encode('test','cp852')\r\n\r\nAny ideas why this happens? Iam using ionic 5 with angular 8. It seems that it have something to do with string decoder.","author":{"url":"https://github.com/Vartex05","@type":"Person","name":"Vartex05"},"datePublished":"2020-05-12T07:14:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/18/string_decoder/issues/18"}
| 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:cd7e07a2-a739-75a2-26b5-57ecc556dcdd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCFE:19BFE5:1731BD7:1DF98E3:699087ED |
| html-safe-nonce | 5115140b41535f43b0a12f85789dc0f9a6e3b1bfa8087c42877e228292ca97a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0ZFOjE5QkZFNToxNzMxQkQ3OjFERjk4RTM6Njk5MDg3RUQiLCJ2aXNpdG9yX2lkIjoiNDQ4MzA2Mzk3MzE2MDE5MTk4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8b51e8656c13c59d98ba34842536ec43aee5ce51759bc1819ae4241145e1c9aa |
| hovercard-subject-tag | issue:616419733 |
| 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/nodejs/string_decoder/18/issue_layout |
| twitter:image | https://opengraph.githubassets.com/baaf86faacf1cd548a0fc12c7cc56c5ecfcdd65ed9d4311ce3bcc81691d7f3bf/nodejs/string_decoder/issues/18 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/baaf86faacf1cd548a0fc12c7cc56c5ecfcdd65ed9d4311ce3bcc81691d7f3bf/nodejs/string_decoder/issues/18 |
| og:image:alt | Hi, iam trying to use iconv-lite library in my ionic5 app, but when i tried to encode some string i get this error: core.js:6014 ERROR Error: Uncaught (in promise): TypeError: Cannot read property ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Vartex05 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/string_decoder git https://github.com/nodejs/string_decoder.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 95052330 |
| octolytics-dimension-repository_nwo | nodejs/string_decoder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 95052330 |
| octolytics-dimension-repository_network_root_nwo | nodejs/string_decoder |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width