Title: sys.readFile for Node.js: the encoding parameter is ignored, so charset compiler option is ignored on Node.js · Issue #4718 · microsoft/TypeScript · GitHub
Open Graph Title: sys.readFile for Node.js: the encoding parameter is ignored, so charset compiler option is ignored on Node.js · Issue #4718 · microsoft/TypeScript
X Title: sys.readFile for Node.js: the encoding parameter is ignored, so charset compiler option is ignored on Node.js · Issue #4718 · microsoft/TypeScript
Description: Current implementation of sys.readFile for Node.js ignore the encoding parameter. This effectively makes the charset compiler option ignored on Node.js. If it is "by desing", then it probably should be documented.
Open Graph Description: Current implementation of sys.readFile for Node.js ignore the encoding parameter. This effectively makes the charset compiler option ignored on Node.js. If it is "by desing", then it probably shoul...
X Description: Current implementation of sys.readFile for Node.js ignore the encoding parameter. This effectively makes the charset compiler option ignored on Node.js. If it is "by desing", then it prob...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/4718
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sys.readFile for Node.js: the encoding parameter is ignored, so charset compiler option is ignored on Node.js","articleBody":"[Current implementation](https://github.com/Microsoft/TypeScript/blob/a5c72014b0c345f6978bfe2fa38e5711c256e5af/src/compiler/sys.ts#L199-L226) of `sys.readFile` for Node.js ignore the `encoding` parameter. This effectively makes the _charset_ compiler option ignored on Node.js. If it is \"by desing\", then it probably should be documented.\n","author":{"url":"https://github.com/denvned","@type":"Person","name":"denvned"},"datePublished":"2015-09-10T11:17:19Z","url":"https://github.com/microsoft/TypeScript/issues/4718"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:3677aedb-8161-7271-3048-0528f1363132 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8F8:334801:1C3C826:26D953D:6B059899 |
| html-safe-nonce | 7f2753ec4c70c807cf6d03376da26607edac6252a5541e0c88371d79c083a2d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEY4OjMzNDgwMToxQzNDODI2OjI2RDk1M0Q6NkIwNTk4OTkiLCJ2aXNpdG9yX2lkIjoiODI5Njk2MTMxODU5ODQ3MzIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | eeb1cf9b962e9e8ec74614e4aed40adc37329682e3f1e50b68cb22d3a3525292 |
| hovercard-subject-tag | issue:105786289 |
| 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/microsoft/TypeScript/4718/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a70644c2269d6405d857da922216fa1c10049359b2dd04d610f35b7994eeba99/microsoft/TypeScript/issues/4718 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a70644c2269d6405d857da922216fa1c10049359b2dd04d610f35b7994eeba99/microsoft/TypeScript/issues/4718 |
| og:image:alt | Current implementation of sys.readFile for Node.js ignore the encoding parameter. This effectively makes the charset compiler option ignored on Node.js. If it is "by desing", then it probably shoul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | denvned |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3b72fd2385d76a50ce0fe937d50bb4a81434432c4fd47866074a26f6cd03623f |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| 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 | 58e2bd32336f3dcee343ec627a4d09c7c444e214 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width