diff options
| author | 2023-05-04 19:48:09 +0200 | |
|---|---|---|
| committer | 2023-05-04 19:48:09 +0200 | |
| commit | fde4e79ed0b851d0b7edfb44c0630cbf385f83cc (patch) | |
| tree | 01e04bf2534474fd99a06b6fe84f607be0482c18 /app/Models/FeedDAO.php | |
| parent | 30c69ef147059f440d304e7da5e0236d95e424fd (diff) | |
SQL attributes native unicode (#5371)
Save our attributes for entries, feeds, and tags as native Unicode instead of JSON escape sequences such as `\u00f8` which are difficult to work with.
Diffstat (limited to 'app/Models/FeedDAO.php')
| -rw-r--r-- | app/Models/FeedDAO.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/FeedDAO.php b/app/Models/FeedDAO.php index 7819bf9b5..12597b46c 100644 --- a/app/Models/FeedDAO.php +++ b/app/Models/FeedDAO.php @@ -66,7 +66,7 @@ class FreshRSS_FeedDAO extends Minz_ModelPdo { base64_encode($valuesTmp['httpAuth']), isset($valuesTmp['error']) ? intval($valuesTmp['error']) : 0, isset($valuesTmp['ttl']) ? intval($valuesTmp['ttl']) : FreshRSS_Feed::TTL_DEFAULT, - is_string($valuesTmp['attributes']) ? $valuesTmp['attributes'] : json_encode($valuesTmp['attributes'], JSON_UNESCAPED_SLASHES), + is_string($valuesTmp['attributes']) ? $valuesTmp['attributes'] : json_encode($valuesTmp['attributes'], JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE), ); if ($stm !== false && $stm->execute($values)) { |
