|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65360 wrong codification
Submitted: 2013-07-30 14:37 UTC Modified: 2016-12-30 16:24 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: petrox81 at yahoo dot it Assigned: cmb (profile)
Status: Not a bug Package: idn (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
45 - 30 = ?
Subscribe to this entry?

 [2013-07-30 14:37 UTC] petrox81 at yahoo dot it
echo idn_to_utf8('');

Test script:
wrong codification

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-30 15:45 UTC]
"ß" was specified later than the other non-ascii characters and is missing in most libraries. If you need it now, try
 [2013-08-13 21:10 UTC] cmbecker69 at gmx dot de
IMO the reported behavior is not a bug, as it conforms to 
RFC 3490. To have an RFC 5890 conforming conversion, 
INTL_IDNA_VARIANT_UTS46 has to be given as $variant:

  idn_to_utf8('', 0, INTL_IDNA_VARIANT_UTS46);
 [2016-12-30 16:24 UTC]
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2016-12-30 16:24 UTC]
Indeed, see <>.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Nov 30 22:01:27 2023 UTC