Home > Contents > Index >
FormPoster.setCharacterEncoding
Sets the character coding of string values in subsequent calls to
FormPoster.addTextValue
.Syntax
public void setCharacterEncoding(String encoding)Parameters
encoding
- Specify the character encoding. Typical encoding values include
"UTF-8"
or"Latin-1"
.
Description
The
setCharacterEncoding
method sets the character encoding when subsequent calls toaddTextValue
are made.The character encoding set by
setCharacterEncoding
only affects data passed through POST; that is,setCharacterEncoding
does not affect any data passed through GET.See Also
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.