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

 ID:                 64477
 Updated by:         a...@php.net
 Reported by:        faca5 at volja dot net
 Summary:            Special characters - UTF-8 - Windows - Console
-Status:             Open
+Status:             Closed
 Type:               Feature/Change Request
 Package:            *General Issues
 Operating System:   Windows
 PHP Version:        5.4.13
-Assigned To:        
+Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

That's clearly not PHP but a terminal issue. On windows its limited to the 
terminal fonts and depends also on whether the terminal has the multibyte 
support. I've saved your snippet as UTF-8 and was able to see two of that three 
chars in powershell chcp 65001 on win8, the normal cmd seems to have no 
multibyte support. Or maybe you could try to tweak the fonts in the registry, 
not sure.


Previous Comments:
------------------------------------------------------------------------
[2013-03-21 12:57:51] faca5 at volja dot net

Description:
------------
Hello.

I have problem with running php script in Windows console. It do not display 
correct characters!

Same with using "chcp 65001"

Test script:
---------------
<?= "ščž"; ?>

Expected result:
----------------
ščž

Actual result:
--------------
i╗?A!─?A3


------------------------------------------------------------------------



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

Reply via email to