Gonçalo Peres created NETBEANS-3102:
---------------------------------------
Summary: Wrong encoding for files in include path
Key: NETBEANS-3102
URL: https://issues.apache.org/jira/browse/NETBEANS-3102
Project: NetBeans
Issue Type: Bug
Components: php - Editor
Affects Versions: 11.0
Environment: Windows 7, Java 8 update 211, NetBeans 11.0
Reporter: Gonçalo Peres
I've a PHP Project with a bunch of PHP files on a directory
"D:/www/project_php" with Encoding in UTF-8 and PHP Version 7.3.4 .
I add a directory (D:/www/include_path) with some other PHP files to the
include path. These files are in UTF-8 enconding, but show in the Netbeans
Editor as ANSI with all the accentuated characters with encoding errors.
{code:java}
return array('status'=>0, 'http_code'=>$httpCode, 'msg'=>"Erro: não foi
possÃvel obter o código fonte da página.\n", 'html'=>$html);{code}
{{it should be:}}
{code:java}
return array('status'=>0, 'http_code'=>$httpCode, 'msg'=>"Erro: não foi
possível obter o código fonte da página.\n", 'html'=>$html);{code}
Tested this by opening a file on the include path in Notepad++ and converting
it to ANSI, it then shows OK on the Netbeans Editor, withou garbage characters,
confirming that although the project is in UTF-8 and all files in the project
directory are rendered in UTF-8, the Netbeans Editor show the files on the
include path as ANSI.
Please correct this. Thank you!
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists