We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdb3df8 commit b19c787Copy full SHA for b19c787
1 file changed
core/java/android/webkit/WebView.java
@@ -2075,6 +2075,11 @@ public void postUrl(String url, byte[] postData) {
2075
* be encoded as base64. Otherwise, the data must use ASCII encoding for
2076
* octets inside the range of safe URL characters and use the standard %xx
2077
* 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.
2083
* @param data A String of data in the given encoding.
2084
* @param mimeType The MIMEType of the data, e.g. 'text/html'.
2085
* @param encoding The encoding of the data.
0 commit comments