How set http header for use other charset ?

Marcelo
2006-03-11
2013-04-22
  • Marcelo
    Marcelo
    2006-03-11

    I am test libcsoap and view that is very simple to use (tanks for the examples); I use has a starting point the simpleclient.c sample, at this moment I need indicate in one program that the charset at http level need be "ISO-8859-1" (by default I see that "utf-8" is indicated), anyone could say me how I can indicate it; I supose that using httpc_set_header() but this requires a parameter httpc_conn_t *connection that is created/destroyed at execution (internally) in soap_client_invoke() function and this connection is not accesible directly in the program, I no see other way to indicate it; if anyone could say me the manner to make this I would be very grateful.   (Sorry my english, Marcelo)