Closed xiangyi-wang closed 7 months ago
Thank you for reporting the issue.
The files are probably in a local encoding(s), not UTF. The compiler (parser) tries to detect the encoding but unsuccessfully; so it results in the wrong tokens.
I would recommend converting the files to UTF-8 (with BOM), or specifying the CodePage
property.
Thank you for reporting the issue.
The files are probably in a local encoding(s), not UTF. The compiler (parser) tries to detect the encoding but unsuccessfully; so it results in the wrong tokens.
I would recommend converting the files to UTF-8 (with BOM), or specifying the
CodePage
property.
Thank you! It's my foolish. I have solved it.
I'm not sure if this is a compiler issue or a VS setup issue this is the symfony\polyfill-iconv\Resources\charset\from.*.php
![image](https://github.com/peachpiecompiler/peachpie/assets/22881957/84a7b2f0-971b-4d2b-a4b9-17f402be3477)