mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
fix encoding non-ascii characters in detected face names
This commit is contained in:
parent
d2d1472763
commit
14b64e31fa
@ -278,7 +278,7 @@ export class MetadataLoader {
|
|||||||
} else if (regionRoot.Area && regionRoot.Name && regionRoot.Type) {
|
} else if (regionRoot.Area && regionRoot.Name && regionRoot.Type) {
|
||||||
|
|
||||||
const regionBox = regionRoot.Area.value;
|
const regionBox = regionRoot.Area.value;
|
||||||
name = regionRoot.Name.value;
|
name = decodeURIComponent(escape(regionRoot.Name.value));
|
||||||
type = regionRoot.Type.value;
|
type = regionRoot.Type.value;
|
||||||
box = createFaceBox(regionBox.w.value,
|
box = createFaceBox(regionBox.w.value,
|
||||||
regionBox.h.value,
|
regionBox.h.value,
|
||||||
|
Loading…
Reference in New Issue
Block a user