|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: petrox81 at yahoo dot it
New email:
PHP Version: OS:


 [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: Sun Dec 10 11:01:26 2023 UTC