[PHP-BUG] Bug #60301 [NEW]: Can't commit in some cases

2011-11-14 Thread ir...@php.net
From: irker
Operating system: 
PHP version:  Irrelevant
Package:  Online Doc Editor problem
Bug Type: Bug
Bug description:Can't commit in some cases

Description:

In some cases users can't commit.
For example:

svn: '/local/web/sites/edit.php.net/data/phpdoc-all/ru/reference/network'
is not 
a 
working copy

In this commit user also added reference/network/functions directory.
I connect to server and run "svn st"
It's showed, that both direstories exists, but not under control version.

I fixed it temporary by adding this direstories to svn and commit (user can

commit 
files only after I commit directories, strange 0_o )




-- 
Edit bug report at https://bugs.php.net/bug.php?id=60301&edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60301&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60301&r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60301&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60301&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60301&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60301&r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60301&r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60301&r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60301&r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60301&r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60301&r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60301&r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60301&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60301&r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60301&r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60301&r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60301&r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60301&r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60301&r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60301&r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60301&r=mysqlcfg



[PHP-BUG] Bug #60300 [NEW]: Can't edit files in "work in progress" or "patches"

2011-11-14 Thread ir...@php.net
From: irker
Operating system: 
PHP version:  Irrelevant
Package:  Online Doc Editor problem
Bug Type: Bug
Bug description:Can't edit files in "work in progress" or "patches"

Description:

Can't edit files in "work in progress" or "patches".
1) edit file and/or move it to patch. In both cases files moved to
"work" table.
2) Commit same files directly through svn. 
3) Update edit.php.net svn working copy and DB files.
4) Can't edit or do something with files in "work in progress" or
"patches".
Only through "all files" we can cancel changes.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60300&edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60300&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60300&r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60300&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60300&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60300&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60300&r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60300&r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60300&r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60300&r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60300&r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60300&r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60300&r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60300&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60300&r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60300&r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60300&r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60300&r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60300&r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60300&r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60300&r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60300&r=mysqlcfg



[PHP-BUG] Req #60299 [NEW]: Option for hide empty patches of other users

2011-11-14 Thread ir...@php.net
From: irker
Operating system: 
PHP version:  Irrelevant
Package:  Online Doc Editor problem
Bug Type: Feature/Change Request
Bug description:Option for hide empty patches of other users

Description:

Option for hide empty patches of other users.
If enable this option user see non-empty patches and all his patches.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60299&edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60299&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60299&r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60299&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60299&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60299&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60299&r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60299&r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60299&r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60299&r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60299&r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60299&r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60299&r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60299&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60299&r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60299&r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60299&r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60299&r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60299&r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60299&r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60299&r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60299&r=mysqlcfg



Req #53946 [PATCH]: add json_encode option for not escaping unnecessary character

2011-08-29 Thread ir...@php.net
Edit report at https://bugs.php.net/bug.php?id=53946&edit=1

 ID: 53946
 Patch added by:     ir...@php.net
 Reported by:christian dot pernot at pingroom dot net
 Summary:add json_encode option for not escaping unnecessary
 character
 Status: Assigned
 Type:   Feature/Change Request
 Package:JSON related
 PHP Version:5.3.5
 Assigned To:scottmac
 Block user comment: N
 Private report: N

 New Comment:

The following patch has been added/updated:

Patch Name: json_encode_doc.patch
Revision:   1314608487
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_encode_doc.patch&revision=1314608487


Previous Comments:

[2011-08-29 08:59:43] ir...@php.net

The following patch has been added/updated:

Patch Name: json_encode_doc.patch
Revision:   1314608383
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_encode_doc.patch&revision=1314608383


[2011-07-25 02:18:09] ir...@php.net

The following patch has been added/updated:

Patch Name: bug53946.phpt
Revision:   1311574689
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=bug53946.phpt&revision=1311574689

--------
[2011-07-19 12:18:06] ir...@php.net

Fragment from rfc4627 ( http://www.ietf.org/rfc/rfc4627.txt )
"All Unicode characters may be placed within the
   quotation marks EXCEPT for the characters that MUST BE escaped:
   quotation mark, reverse solidus, and the control characters (U+
   through U+001F).

   Any character MAY BE escaped."

--------
[2011-07-19 12:14:14] ir...@php.net

The given option is especially necessary, when json is used in ajax responses. 
The 
size of a line decreases approximately twice.

I have added a patch which the minimum changes in a code adds support given 
parameter.

This parameter doesn't demand  UTF8 to UTF16 encoding. But encoding validate 
utf8 
line, therefore I hadn't touch it for BC.

--------
[2011-07-19 12:02:55] ir...@php.net

The following patch has been added/updated:

Patch Name: json_unescaped_unicode.patch
Revision:   1311091375
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_unescaped_unicode.patch&revision=1311091375




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

https://bugs.php.net/bug.php?id=53946


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=53946&edit=1


Req #53946 [PATCH]: add json_encode option for not escaping unnecessary character

2011-08-29 Thread ir...@php.net
Edit report at https://bugs.php.net/bug.php?id=53946&edit=1

 ID: 53946
 Patch added by:     ir...@php.net
 Reported by:christian dot pernot at pingroom dot net
 Summary:add json_encode option for not escaping unnecessary
 character
 Status: Assigned
 Type:   Feature/Change Request
 Package:JSON related
 PHP Version:5.3.5
 Assigned To:scottmac
 Block user comment: N
 Private report: N

 New Comment:

The following patch has been added/updated:

Patch Name: json_encode_doc.patch
Revision:   1314608383
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_encode_doc.patch&revision=1314608383


Previous Comments:

[2011-07-25 02:18:09] ir...@php.net

The following patch has been added/updated:

Patch Name: bug53946.phpt
Revision:   1311574689
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=bug53946.phpt&revision=1311574689


[2011-07-19 12:18:06] ir...@php.net

Fragment from rfc4627 ( http://www.ietf.org/rfc/rfc4627.txt )
"All Unicode characters may be placed within the
   quotation marks EXCEPT for the characters that MUST BE escaped:
   quotation mark, reverse solidus, and the control characters (U+
   through U+001F).

   Any character MAY BE escaped."

----
[2011-07-19 12:14:14] ir...@php.net

The given option is especially necessary, when json is used in ajax responses. 
The 
size of a line decreases approximately twice.

I have added a patch which the minimum changes in a code adds support given 
parameter.

This parameter doesn't demand  UTF8 to UTF16 encoding. But encoding validate 
utf8 
line, therefore I hadn't touch it for BC.

--------
[2011-07-19 12:02:55] ir...@php.net

The following patch has been added/updated:

Patch Name: json_unescaped_unicode.patch
Revision:   1311091375
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_unescaped_unicode.patch&revision=1311091375

--------
[2011-07-19 12:02:24] ir...@php.net

The following patch has been added/updated:

Patch Name: bug53946.phpt
Revision:   1311091344
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=bug53946.phpt&revision=1311091344




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

https://bugs.php.net/bug.php?id=53946


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=53946&edit=1


Req #53946 [PATCH]: add json_encode option for not escaping unnecessary character

2011-07-24 Thread ir...@php.net
Edit report at https://bugs.php.net/bug.php?id=53946&edit=1

 ID: 53946
 Patch added by:     ir...@php.net
 Reported by:christian dot pernot at pingroom dot net
 Summary:add json_encode option for not escaping unnecessary
 character
 Status: Assigned
 Type:   Feature/Change Request
 Package:JSON related
 PHP Version:5.3.5
 Assigned To:scottmac
 Block user comment: N
 Private report: N

 New Comment:

The following patch has been added/updated:

Patch Name: bug53946.phpt
Revision:   1311574689
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=bug53946.phpt&revision=1311574689


Previous Comments:

[2011-07-19 12:18:06] ir...@php.net

Fragment from rfc4627 ( http://www.ietf.org/rfc/rfc4627.txt )
"All Unicode characters may be placed within the
   quotation marks EXCEPT for the characters that MUST BE escaped:
   quotation mark, reverse solidus, and the control characters (U+
   through U+001F).

   Any character MAY BE escaped."


[2011-07-19 12:14:14] ir...@php.net

The given option is especially necessary, when json is used in ajax responses. 
The 
size of a line decreases approximately twice.

I have added a patch which the minimum changes in a code adds support given 
parameter.

This parameter doesn't demand  UTF8 to UTF16 encoding. But encoding validate 
utf8 
line, therefore I hadn't touch it for BC.

--------
[2011-07-19 12:02:55] ir...@php.net

The following patch has been added/updated:

Patch Name: json_unescaped_unicode.patch
Revision:   1311091375
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_unescaped_unicode.patch&revision=1311091375

--------
[2011-07-19 12:02:24] ir...@php.net

The following patch has been added/updated:

Patch Name: bug53946.phpt
Revision:   1311091344
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=bug53946.phpt&revision=1311091344

--------
[2011-07-19 12:01:33] ir...@php.net

The following patch has been added/updated:

Patch Name: json_unescaped_unicode
Revision:   1311091293
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_unescaped_unicode&revision=1311091293




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

https://bugs.php.net/bug.php?id=53946


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=53946&edit=1


Req #53946 [Com]: add json_encode option for not escaping unnecessary character

2011-07-19 Thread ir...@php.net
Edit report at https://bugs.php.net/bug.php?id=53946&edit=1

 ID: 53946
 Comment by:     ir...@php.net
 Reported by:christian dot pernot at pingroom dot net
 Summary:add json_encode option for not escaping unnecessary
 character
 Status: Assigned
 Type:   Feature/Change Request
 Package:JSON related
 PHP Version:5.3.5
 Assigned To:scottmac
 Block user comment: N
 Private report: N

 New Comment:

Fragment from rfc4627 ( http://www.ietf.org/rfc/rfc4627.txt )
"All Unicode characters may be placed within the
   quotation marks EXCEPT for the characters that MUST BE escaped:
   quotation mark, reverse solidus, and the control characters (U+
   through U+001F).

   Any character MAY BE escaped."


Previous Comments:

[2011-07-19 12:14:14] ir...@php.net

The given option is especially necessary, when json is used in ajax responses. 
The 
size of a line decreases approximately twice.

I have added a patch which the minimum changes in a code adds support given 
parameter.

This parameter doesn't demand  UTF8 to UTF16 encoding. But encoding validate 
utf8 
line, therefore I hadn't touch it for BC.

----
[2011-07-19 12:02:55] ir...@php.net

The following patch has been added/updated:

Patch Name: json_unescaped_unicode.patch
Revision:   1311091375
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_unescaped_unicode.patch&revision=1311091375

--------
[2011-07-19 12:02:24] ir...@php.net

The following patch has been added/updated:

Patch Name: bug53946.phpt
Revision:   1311091344
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=bug53946.phpt&revision=1311091344

--------
[2011-07-19 12:01:33] ir...@php.net

The following patch has been added/updated:

Patch Name: json_unescaped_unicode
Revision:   1311091293
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_unescaped_unicode&revision=1311091293


[2011-03-25 17:59:42] trolzen at gmail dot com

Maybe it's worth mentioning in manual that json_encode converts national 
characters into strings like \u and that there is no way to change this 
behaviour yet?




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

https://bugs.php.net/bug.php?id=53946


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=53946&edit=1


Req #53946 [Com]: add json_encode option for not escaping unnecessary character

2011-07-19 Thread ir...@php.net
Edit report at https://bugs.php.net/bug.php?id=53946&edit=1

 ID: 53946
 Comment by:     ir...@php.net
 Reported by:christian dot pernot at pingroom dot net
 Summary:add json_encode option for not escaping unnecessary
 character
 Status: Assigned
 Type:   Feature/Change Request
 Package:JSON related
 PHP Version:5.3.5
 Assigned To:scottmac
 Block user comment: N
 Private report: N

 New Comment:

The given option is especially necessary, when json is used in ajax responses. 
The 
size of a line decreases approximately twice.

I have added a patch which the minimum changes in a code adds support given 
parameter.

This parameter doesn't demand  UTF8 to UTF16 encoding. But encoding validate 
utf8 
line, therefore I hadn't touch it for BC.


Previous Comments:

[2011-07-19 12:02:55] ir...@php.net

The following patch has been added/updated:

Patch Name: json_unescaped_unicode.patch
Revision:   1311091375
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_unescaped_unicode.patch&revision=1311091375


[2011-07-19 12:02:24] ir...@php.net

The following patch has been added/updated:

Patch Name: bug53946.phpt
Revision:   1311091344
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=bug53946.phpt&revision=1311091344

----
[2011-07-19 12:01:33] ir...@php.net

The following patch has been added/updated:

Patch Name: json_unescaped_unicode
Revision:   1311091293
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_unescaped_unicode&revision=1311091293


[2011-03-25 17:59:42] trolzen at gmail dot com

Maybe it's worth mentioning in manual that json_encode converts national 
characters into strings like \u and that there is no way to change this 
behaviour yet?


[2011-02-10 20:42:42] scott...@php.net

Seems reasonable to add.




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

https://bugs.php.net/bug.php?id=53946


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=53946&edit=1


Req #53946 [PATCH]: add json_encode option for not escaping unnecessary character

2011-07-19 Thread ir...@php.net
Edit report at https://bugs.php.net/bug.php?id=53946&edit=1

 ID: 53946
 Patch added by:     ir...@php.net
 Reported by:christian dot pernot at pingroom dot net
 Summary:add json_encode option for not escaping unnecessary
 character
 Status: Assigned
 Type:   Feature/Change Request
 Package:JSON related
 PHP Version:5.3.5
 Assigned To:scottmac
 Block user comment: N
 Private report: N

 New Comment:

The following patch has been added/updated:

Patch Name: json_unescaped_unicode.patch
Revision:   1311091375
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_unescaped_unicode.patch&revision=1311091375


Previous Comments:

[2011-07-19 12:02:24] ir...@php.net

The following patch has been added/updated:

Patch Name: bug53946.phpt
Revision:   1311091344
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=bug53946.phpt&revision=1311091344


[2011-07-19 12:01:33] ir...@php.net

The following patch has been added/updated:

Patch Name: json_unescaped_unicode
Revision:   1311091293
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_unescaped_unicode&revision=1311091293


[2011-03-25 17:59:42] trolzen at gmail dot com

Maybe it's worth mentioning in manual that json_encode converts national 
characters into strings like \u and that there is no way to change this 
behaviour yet?


[2011-02-10 20:42:42] scott...@php.net

Seems reasonable to add.


[2011-02-07 10:22:03] christian dot pernot at pingroom dot net

Description:

It would be great to have a option for json_encode which make possible to keep 
non-ascii character "as such" in strings (and not \u), which is the case 
for example with mozilla's JSON.stringify.

json.org states string can have 
"any-Unicode-character-except-"-or-\-or-control-character"

Test script:
---
$str = "test accentué";
echo json_encode($str);

gives 

"test accentu\u00e9"

Expected result:

"test accentué"

Actual result:
--
"test accentu\u00e9"






-- 
Edit this bug report at https://bugs.php.net/bug.php?id=53946&edit=1


Req #53946 [PATCH]: add json_encode option for not escaping unnecessary character

2011-07-19 Thread ir...@php.net
Edit report at https://bugs.php.net/bug.php?id=53946&edit=1

 ID: 53946
 Patch added by:     ir...@php.net
 Reported by:christian dot pernot at pingroom dot net
 Summary:add json_encode option for not escaping unnecessary
 character
 Status: Assigned
 Type:   Feature/Change Request
 Package:JSON related
 PHP Version:5.3.5
 Assigned To:scottmac
 Block user comment: N
 Private report: N

 New Comment:

The following patch has been added/updated:

Patch Name: bug53946.phpt
Revision:   1311091344
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=bug53946.phpt&revision=1311091344


Previous Comments:

[2011-07-19 12:01:33] ir...@php.net

The following patch has been added/updated:

Patch Name: json_unescaped_unicode
Revision:   1311091293
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_unescaped_unicode&revision=1311091293


[2011-03-25 17:59:42] trolzen at gmail dot com

Maybe it's worth mentioning in manual that json_encode converts national 
characters into strings like \u and that there is no way to change this 
behaviour yet?


[2011-02-10 20:42:42] scott...@php.net

Seems reasonable to add.


[2011-02-07 10:22:03] christian dot pernot at pingroom dot net

Description:

It would be great to have a option for json_encode which make possible to keep 
non-ascii character "as such" in strings (and not \u), which is the case 
for example with mozilla's JSON.stringify.

json.org states string can have 
"any-Unicode-character-except-"-or-\-or-control-character"

Test script:
---
$str = "test accentué";
echo json_encode($str);

gives 

"test accentu\u00e9"

Expected result:

"test accentué"

Actual result:
--
"test accentu\u00e9"






-- 
Edit this bug report at https://bugs.php.net/bug.php?id=53946&edit=1


Req #53946 [PATCH]: add json_encode option for not escaping unnecessary character

2011-07-19 Thread ir...@php.net
Edit report at https://bugs.php.net/bug.php?id=53946&edit=1

 ID: 53946
 Patch added by:     ir...@php.net
 Reported by:christian dot pernot at pingroom dot net
 Summary:add json_encode option for not escaping unnecessary
 character
 Status: Assigned
 Type:   Feature/Change Request
 Package:JSON related
 PHP Version:5.3.5
 Assigned To:scottmac
 Block user comment: N
 Private report: N

 New Comment:

The following patch has been added/updated:

Patch Name: json_unescaped_unicode
Revision:   1311091293
URL:
https://bugs.php.net/patch-display.php?bug=53946&patch=json_unescaped_unicode&revision=1311091293


Previous Comments:

[2011-03-25 17:59:42] trolzen at gmail dot com

Maybe it's worth mentioning in manual that json_encode converts national 
characters into strings like \u and that there is no way to change this 
behaviour yet?


[2011-02-10 20:42:42] scott...@php.net

Seems reasonable to add.


[2011-02-07 10:22:03] christian dot pernot at pingroom dot net

Description:

It would be great to have a option for json_encode which make possible to keep 
non-ascii character "as such" in strings (and not \u), which is the case 
for example with mozilla's JSON.stringify.

json.org states string can have 
"any-Unicode-character-except-"-or-\-or-control-character"

Test script:
---
$str = "test accentué";
echo json_encode($str);

gives 

"test accentu\u00e9"

Expected result:

"test accentué"

Actual result:
--
"test accentu\u00e9"






-- 
Edit this bug report at https://bugs.php.net/bug.php?id=53946&edit=1