summaryrefslogtreecommitdiffstats
path: root/htdocs/docs
diff options
context:
space:
mode:
authorVille Skytt? <ville.skytta@iki.fi>2010-11-06 19:58:29 +0200
committerVille Skytt? <ville.skytta@iki.fi>2010-11-06 19:58:29 +0200
commit7fb4d81c324b8d6c5b59b499e9aaa078bfff8f02 (patch)
treeef8873e297d688d5cebd3b813b0f72e74435fa83 /htdocs/docs
parent4b1a18451186bae1370cfbca136a4f4016f58f15 (diff)
downloadmarkup-validator-7fb4d81c324b8d6c5b59b499e9aaa078bfff8f02.zip
markup-validator-7fb4d81c324b8d6c5b59b499e9aaa078bfff8f02.tar.gz
markup-validator-7fb4d81c324b8d6c5b59b499e9aaa078bfff8f02.tar.bz2
Document previously implicit UTF-8 expectation for parameter values.
Diffstat (limited to 'htdocs/docs')
-rwxr-xr-xhtdocs/docs/api.html10
-rwxr-xr-xhtdocs/docs/users.html4
2 files changed, 11 insertions, 3 deletions
diff --git a/htdocs/docs/api.html b/htdocs/docs/api.html
index 1d72dde..c408714 100755
--- a/htdocs/docs/api.html
+++ b/htdocs/docs/api.html
@@ -35,7 +35,12 @@ SOAP 1.2 validation interface documentation</h2>
<h3 id="requestformat">Validation Request Format</h3>
-<p>Below is a table of the parameter you can use to send a query to the W3C Markup Validator.</p>
+<p>
+ Below is a table of the parameter you can use to send a query to the W3C
+ Markup Validator. All parameter values except data in
+ <code>uploaded_file</code> are expected to be encoded in the UTF-8 character
+ encoding.
+</p>
<p>If you want to use W3C's public validation server, use the parameters below
in conjunction with the following base URI:<br />
<kbd>http://validator.w3.org/check</kbd> <br />
@@ -64,8 +69,7 @@ is appreciated. thanks.</p>
</tr>
<tr>
<th>fragment</th>
- <td>The source of the document to validate. Full documents only.
- At the moment, will only work if data is sent with the UTF-8 encoding.</td>
+ <td>The source of the document to validate. Full documents only.</td>
<td>None, but either this parameter, or <code>uri</code>,
or <code>uploaded_file</code> must be given.</td>
</tr>
diff --git a/htdocs/docs/users.html b/htdocs/docs/users.html
index 367ae6a..27c7d67 100755
--- a/htdocs/docs/users.html
+++ b/htdocs/docs/users.html
@@ -113,6 +113,10 @@
on, but "Verbose" off.
</p>
<p>
+ All parameter values should be encoded in the UTF-8 character encoding
+ (before URI escaping them).
+ </p>
+ <p>
You may also see these separated by ampersands, but this usage is
deprecated and support may be removed at some time in the future.
</p>