Join should use UTF-8 Encoding
This commit is contained in:
parent
57645c68da
commit
fddaa03300
@ -4,7 +4,7 @@ import { WithEncoding } from "./baseDefinitions";
|
|||||||
|
|
||||||
export function join(
|
export function join(
|
||||||
separator: string,
|
separator: string,
|
||||||
options?: WithEncoding & TransformOptions,
|
options: WithEncoding & TransformOptions = { encoding: "utf8" },
|
||||||
): Transform {
|
): Transform {
|
||||||
let isFirstChunk = true;
|
let isFirstChunk = true;
|
||||||
const decoder = new StringDecoder(options.encoding);
|
const decoder = new StringDecoder(options.encoding);
|
||||||
|
Loading…
Reference in New Issue
Block a user