Project

General

Profile

Revision 4516

Added by Jing Tao almost 12 years ago

Change the encoding method of reponse of getPrincipal from ASCII to iso-8859-1.

View differences:

src/edu/ucsb/nceas/metacat/AuthLdap.java
1083 1083
    ConnectException {
1084 1084
    StringBuffer out = new StringBuffer();
1085 1085
   
1086
    out.append("<?xml version=\"1.0\" encoding=\"US-ASCII\"?>\n");
1086
    out.append("<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n");
1087 1087
    out.append("<principals>\n");
1088 1088

  
1089 1089
    /*

Also available in: Unified diff