exif: fix set with unicode names
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/672/head
parent
ab5627d1f4
commit
f8eaa75b8e
|
@ -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'],
|
||||
|
|
Loading…
Reference in New Issue