From c1089d0a819f6d21c0e1bc0744aad2d77e8a72da Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Sun, 24 Oct 2021 22:39:49 +0700 Subject: [PATCH] change pbf to utf-16 seems to be the official format https://github.com/mifi/lossless-cut/issues/867#issuecomment-950345845 --- src/edlStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edlStore.js b/src/edlStore.js index 482c6f13..b523750f 100644 --- a/src/edlStore.js +++ b/src/edlStore.js @@ -25,7 +25,7 @@ export async function loadXmeml(path) { } export async function loadPbf(path) { - return parsePbf(await fs.readFile(path, 'utf-8')); + return parsePbf(await fs.readFile(path, 'utf16le')); } export async function loadMplayerEdl(path) {