From 14b64e31fae38823596fc24b0ee3c10e3cbc2d7e Mon Sep 17 00:00:00 2001 From: Igor Rzegocki Date: Sat, 24 Jul 2021 01:28:58 +0200 Subject: [PATCH] fix encoding non-ascii characters in detected face names --- src/backend/model/threading/MetadataLoader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/model/threading/MetadataLoader.ts b/src/backend/model/threading/MetadataLoader.ts index 76fdf253..c3bac707 100644 --- a/src/backend/model/threading/MetadataLoader.ts +++ b/src/backend/model/threading/MetadataLoader.ts @@ -278,7 +278,7 @@ export class MetadataLoader { } else if (regionRoot.Area && regionRoot.Name && regionRoot.Type) { const regionBox = regionRoot.Area.value; - name = regionRoot.Name.value; + name = decodeURIComponent(escape(regionRoot.Name.value)); type = regionRoot.Type.value; box = createFaceBox(regionBox.w.value, regionBox.h.value,