-
Notifications
You must be signed in to change notification settings - Fork 466
Closed
Labels
type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
Both the request and response objects should default to the same charsets. This causes very hard to troubleshoot bugs with repeated requests.
from com.google.api.client.http.HttpResponse
public Charset getContentCharset() {
return mediaType == null || mediaType.getCharsetParameter() == null
? Charsets.ISO_8859_1 : mediaType.getCharsetParameter();
}
from com.google.api.client.http.AbstractHttpContent
protected final Charset getCharset() {
return mediaType == null || mediaType.getCharsetParameter() == null
? Charsets.UTF_8 : mediaType.getCharsetParameter();
}
Ideally both will use Charsets.UTF_8, as Charsets.ISO_8859_1 only supports a subset.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.