Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

utf-8 and iso-8859-1

sait sari
2008-05-24
2013-06-06
  • sait sari
    sait sari
    2008-05-24

    hi,
    How can I change decoding from iso-8859-1 to utf-8 in webservice(server side) in nusoap?
    $server->mywebservice->soap_defencoding = "UTF-8" does not works.

    thanks.

     
    • louis maasen
      louis maasen
      2008-09-27

      I modified the file named class.nusoap_base.php.
      The modification is:
      comment the line:
      var $soap_defencoding = 'ISO-8859-1';
      uncomment the line:
      var $soap_defencoding = 'UTF-8';

      Good luck!

       
    • Heiko Lang
      Heiko Lang
      2008-10-02

      I modified the class nusoap_server like this:

      class my_nusoap_server extends nusoap_server
      {
              var $soap_defencoding = 'UTF-8';
              var $decode_utf8 = false;
      }

      bye
      Heiko