Jump to content

Recommended Posts

Hi all. I know this isn't a problem but I'm curious how I would remedy this warning I am recieving when I validate my xhtml in w3's html validator.

 

The warning concerns the charset for "Direct Input" elements (basically text fields) on the page. This is the warning I get:

 

Unlike the “by URI” and “by File Upload” modes, the “Direct Input” mode of the validator provides validated content in the form of characters pasted or typed in the validator's form field. This will automatically make the data UTF-8, and therefore the validator does not need to determine the character encoding of your document, and will ignore any charset information specified.

 

If you notice a discrepancy in detected character encoding between the the “Direct Input” mode and other validator modes, this is likely to be the reason. It is neither a bug in the validator, nor in your document.

 

I'm looking for a way to get around this warning. I'm quite thorough when it comes to validation, and this is the only thing left.

 

Does anyone know how to prevent this warning?

 

Thanks in advance

 

Xur~

Link to comment
https://forums.phpfreaks.com/topic/156405-warning-on-w3-validator/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.