File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2079,10 +2079,12 @@ public void postUrl(String url, byte[] postData) {
20792079 * <p>
20802080 * The 'data' scheme URL formed by this method uses the default US-ASCII
20812081 * charset. If you need need to set a different charset, you should form a
2082- * 'data' scheme URL which specifies a charset parameter and call
2083- * {@link #loadUrl(String)} instead.
2082+ * 'data' scheme URL which explicitly specifies a charset parameter in the
2083+ * mediatype portion of the URL and call {@link #loadUrl(String)} instead.
2084+ * Note that the charset obtained from the mediatype portion of a data URL
2085+ * always overrides that specified in the HTML or XML document itself.
20842086 * @param data A String of data in the given encoding.
2085- * @param mimeType The MIMEType of the data, e.g. 'text/html'.
2087+ * @param mimeType The MIME type of the data, e.g. 'text/html'.
20862088 * @param encoding The encoding of the data.
20872089 */
20882090 public void loadData (String data , String mimeType , String encoding ) {
You can’t perform that action at this time.
0 commit comments