8000 Merge pull request #71 from shapito27/patch-1 · laravel-enso/localisation@86f43b7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 86f43b7

Browse files
authored
Merge pull request #71 from shapito27/patch-1
Prevent unicode escaping
2 parents 656c95e + 278fbf2 commit 86f43b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/Json/Handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function saveToDisk(string $locale, array $langFile, ?string $subDir =
3333
{
3434
File::put(
3535
$this->jsonFileName($locale, $subDir),
36-
json_encode($langFile, JSON_FORCE_OBJECT | ($subDir ? JSON_PRETTY_PRINT : 0))
36+
json_encode($langFile, JSON_FORCE_OBJECT | JSON_UNESCAPED_UNICODE | ($subDir ? JSON_PRETTY_PRINT : 0))
3737
);
3838
}
3939

0 commit comments

Comments
 (0)
0