Index: /home/oleg/src/apache.org/jakarta-commons/httpclient-trunk/src/java/org/apache/commons/httpclient/methods/StringRequestEntity.java =================================================================== --- /home/oleg/src/apache.org/jakarta-commons/httpclient-trunk/src/java/org/apache/commons/httpclient/methods/StringRequestEntity.java (revision 354827) +++ /home/oleg/src/apache.org/jakarta-commons/httpclient-trunk/src/java/org/apache/commons/httpclient/methods/StringRequestEntity.java (working copy) @@ -53,10 +53,20 @@ /** The content type (i.e. text/html; charset=EUC-JP). */ private String contentType; - /** - * Creates a new entity with the given content + *

Creates a new entity with the given content. This constructor + * will use the default platform charset to convert the content string + * and will provide no content type.

* + *

This constructor may be deprecated or changed to use the + * default HTTP content charset (ISO-8859-1) in the release 3.1

+ * + *

It is strongly recommended to use + * {@link #StringRequestEntity(String, String, String)} constructor + * instead.

+ * + * @see #StringRequestEntity(String, String, String) + * * @param content The content to set. */ public StringRequestEntity(String content) {