I send a valid UTF-8* HTML file to Tools->W3C HTML Validator.
Result:
"Sorry! This document can not be checked.
Sorry, I am unable to validate this document because on line 10, 14, 36, 48, 50, 53, 55, 57-59, 62, 64-66, 69-70, 91-94, 96-97, 99, 101, 104-106, 108-112 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication. "
When entered directly (not from RapidPHP), the same document validates OK.
The positions mentioned in the error message are all special non-Latin1 characters so most probably RapidPHP sends the file as ANSI, not UTF-8.
System:
WinXP SP2
RapidPHP 8.0.2.77
Broken encoding when file sent to W3C validator
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;