Req #74419 [Com]: JSON_PRETTY_PRINT prints only Unix newlines
| From: | spam2 at rhsoft dot net | Date: | Mon, 31 Jul 2017 12:57:38 +0000 |
| Subject: | Req #74419 [Com]: JSON_PRETTY_PRINT prints only Unix newlines | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-210432@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74419&edit=1
ID: 74419
Comment by: spam2 at rhsoft dot net
Reported by: matthieux dot dekamen at gmail dot com
Summary: JSON_PRETTY_PRINT prints only Unix newlines
Status: Open
Type: Feature/Change Request
Package: JSON related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
should it really?
frankly i stopped using \r\n years before i switched to linux everywhere because the only software
which can't handle \n is "notepad"
Previous Comments:
------------------------------------------------------------------------
[2017-07-31 12:55:02] justin_maldanado at protonmail dot com
Got the same problem when working on my project
https://www.oxagile.co.uk/services/php-development-services/
------------------------------------------------------------------------
[2017-04-12 08:47:27] matthieux dot dekamen at gmail dot com
Description:
------------
JSON_PRETTY_PRINT should use the newline as in PHP_EOL, but instead inserts only Unix newlines.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74419&edit=1