exif: fix set with unicode names

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/672/head
Varun Patil 2023-05-30 20:55:17 -07:00
parent ab5627d1f4
commit f8eaa75b8e
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ class Exif
public static function setExif(string $path, array $data)
{
$data['SourceFile'] = $path;
$raw = json_encode([$data]);
$raw = json_encode([$data], JSON_UNESCAPED_UNICODE);
$cmd = array_merge(self::getExiftool(), ['-json=-', $path]);
$proc = proc_open($cmd, [
0 => ['pipe', 'r'],