Charset - Unknown Encoding
Hello!
Having some issues with PHP Storm inspections and errors....
Currently working on a WordPress project and i'm getting an error that you can see in in with the following Upload ID --> 2021_05_12_16zSa3jHNhWSHpeE.
File and code are both using UTF-8 encooding.
Considering it's a paid software (and not a cheap one) you'd think that the development team can fix this ;)
I've seen other threads about this on the community forum previously and there has been no official response.
So the alternatives are...
- Either there is a way to disable errors for entire directories and perhaps specific files, WHILE keeping indexing! (important)
- Or you fix the issue :)
Tried changing the Lossy encoding setting and no change for me, my example is...
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $parsed_args['charset']; ?>" />
Seems to be related to the word/keyword "charset".
Also, if you exclude wordpress core files from a scope, wordpress autocompletes no longer works and all wordpress functions within my scope shows as "Function does not exist", but thatäs a whole other story, I'll start a different thread if needed.
PHP Storm details....
Version: PhpStorm 2020.3.3
Build: #PS-203.7717.64, built on March 16, 2021
Runtime version: 11.0.10+8-b1145.96 x86_64
macOS: 10.16
Memory: 1979M (that is available to PhpStorm i assume, system has 32 GB)
Cores: 12
请先登录再写评论。
As advised in another thread, that's a known issue: https://youtrack.jetbrains.com/issue/WEB-49752, it's being worked on. Feel free to vote for or comment it in order to get notified about its updates.