Changeset 257:6a341c60af17

Show
Ignore:
Timestamp:
09/02/09 12:41:28 (4 years ago)
Author:
tgambet
Branch:
default
convert_revision:
svn:cdcfb263-7567-472c-a848-e2c2df3466e7/trunk@258
Message:

removed encoding

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • WebContent/WEB-INF/conf/unicorn.properties

    r245 r257  
    11# UNICORN_HOME is a property set in the jvm parameters (ex: -Dunicorn.home="/var/lib/tomcat6/webapps/unicorn/"). Read the README file for more info.  
    22UNICORN_URL = http://localhost:8080/unicorn/ 
    3 UNICORN_ENCODING = UTF-8 
    43 
    54UNICORN_PARAMETER_PREFIX = ucn_ 
  • src/org/w3c/unicorn/request/DirectRequestGET.java

    r214 r257  
    1 // $Id: DirectRequestGET.java,v 1.2 2009-08-28 12:39:48 jean-gui Exp $ 
     1// $Id: DirectRequestGET.java,v 1.3 2009-09-02 12:41:28 tgambet Exp $ 
    22// Author: Damien LEROY. 
    33// (c) COPYRIGHT MIT, ERCIM ant Keio, 2006. 
     
    8282                } 
    8383                this.sParameter += sName + "=" 
    84                                 + URLEncoder.encode(sValue, Property.get("UNICORN_ENCODING")); 
     84                                + URLEncoder.encode(sValue, "UTF-8"); 
    8585                Request.logger.debug("Parameters : " + this.sParameter + "."); 
    8686        }