-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: 'utf-8' codec can't decode byte 0xfc in position 62: invalid start byte #266
Comments
@AleksCee Could you try running with |
@akenion here is the debug output:
when I read it correctly it’s happened during the config-file… |
Ok, this Dochte trick, thanks for the quick help! The wp-config.php has broken encodings in the comments with German umlauts. |
Thanks @AleksCee. You're correct that this is due to those characters not being valid UTF-8, but PHP isn't actually required to be UTF-8 so the parser in CLI should be able to handle this gracefully without error. I'm going to re-open this issue and include a fix in the upcoming CLI release as it should be fairly straightforward to correct. Thanks for reporting this and your help troubleshooting; I'm glad to hear you were able to find a workaround for the time being. |
@akenion thanks too.
have you a tip where I can find the issue? The config file is the same a all this others. Only diff are the hashes and dB config. And additional this block:
|
Ok after some try and error I found out that the parse comes in trouble with this line:
When I temporarily remove this line for testing, it’s work. But this line is needed for multisites. OK, seams to be a accident - did not work. :-( |
v4.0.3rc4 8/1/24 SUMMARY: REPRODUCTION STEPS:
VALIDATION STEPS: NOTES: Other PRs also validated - for example CLI output for vuln-scans was including a |
Hi,
some sites 13 of 15 get this error by using vuln-scan, only 2 sites on the same server runs without this error. Any ideas?
sorry forgotten, version: v4.0.2 as binary installation on Ubuntu 22.04 with LANG=de_DE.UTF-8 - also tried with en utf8
thanks, Alex
The text was updated successfully, but these errors were encountered: