File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2075,6 +2075,11 @@ public void postUrl(String url, byte[] postData) {
20752075 * be encoded as base64. Otherwise, the data must use ASCII encoding for
20762076 * octets inside the range of safe URL characters and use the standard %xx
20772077 * hex encoding of URLs for octets outside that range.
2078+ * <p>
2079+ * The 'data' scheme URL formed by this method uses the default US-ASCII
2080+ * charset. If you need need to set a different charset, you should form a
2081+ * 'data' scheme URL which specifies a charset parameter and call
2082+ * {@link #loadUrl(String)} instead.
20782083 * @param data A String of data in the given encoding.
20792084 * @param mimeType The MIMEType of the data, e.g. 'text/html'.
20802085 * @param encoding The encoding of the data.
You can’t perform that action at this time.
0 commit comments