You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by 안지성 <na...@5184.co.kr> on 2000/10/04 04:49:24 UTC
apache-soap bug patch for Multi byte language problem(ex. korean
)
Apach-Soap has some problem for Multibyte language.
Content-Length is not String length, but bytes length.
At HttpUtils.java
public static Response post(URL url, Hashtable hashtable, String s,
String s1) throws IllegalArgumentException
{
..
..
..
printwriter.print("POST " + url.getFile() + " HTTP/" + "1.0" +
"\r\n");
printwriter.print("Host: " + url.getHost() + ':' +
url.getPort() + "\r\n");
printwriter.print("Content-Type: " + s + "\r\n");
* printwriter.print("Content-Length: " + s1.getBytes().length +
"\r\n");
Object obj;
..
..
..