php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47095 Japanese encoded in UTF-8 display as ????
Submitted: 2009-01-14 05:57 UTC Modified: 2009-01-15 12:46 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: webmaster at einsamsoldat dot net Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.8 OS: CentOS release 5.2 (Final)
Private report: No CVE-ID: None
 [2009-01-14 05:57 UTC] webmaster at einsamsoldat dot net
Description:
------------
Unicode Japanese characters show as ???? once alphanumeric character is included in the php code

Win32 PHP 5.2.8 does not have the problem.


Reproduce code:
---------------
<?

echo "<a href='http://www.einsamsoldat.net' target='_blank'>".'&#12431;&#12383;&#12375;&#12398;&#21517;&#21069;&#12399;'."</a> <br 

/>";


Expected result:
----------------
&#12431;&#12383;&#12375;&#12398;&#21517;&#21069;&#12399;


---Not Output---
*Note: A hyperlink pointing to http://www.einsamsoldat.net

Actual result:
--------------
???????

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-01-14 06:31 UTC] webmaster at einsamsoldat dot net
The bug submission has converted my Japanese UTF-8 characters to &#12431;&#12383;&#12375;&#12398;&#21517;&#21069;&#12399
 [2009-01-15 12:46 UTC] jani@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Fix your server settings.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC