Broken encoding when file sent to W3C validator

Post your questions and problem reports here

Moderator: kfury77

Forum rules
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;
Post Reply
kybos
Posts: 21
Joined: Fri Jun 01, 2007 10:12 pm

Broken encoding when file sent to W3C validator

Post by kybos »

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
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

Can you post a link to the file please?
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

Got it. The bugs is confirmed and will be fixed in the next update!
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply