Skip to main content
TextEncoder.prototype.encoding - util - Node documentation
property TextEncoder.prototype.encoding

Usage in Deno

import { TextEncoder } from "node:util";

The encoding supported by the TextEncoder instance. Always set to 'utf-8'.

Type

string