Revision 38762 trunk/extensions/extWFS2/src/com/iver/cit/gvsig/gui/panels/WFSFilterPanel.java

View differences:

WFSFilterPanel.java
743 743
				text = text.substring(1, text.length() -1);
744 744

  
745 745
				// Convert the string to ISO 8859_1 codification
746
				text = URLEncoder.encode(text, "8859_1");
746
//				text = URLEncoder.encode(text, "8859_1");
747
				// Convert the string to UTF codification (requests are expected to go in this encoding.
748
				// See: http://listserv.gva.es/pipermail/gvsig_internacional/2012-August/008559.html
749
				text = URLEncoder.encode(text, "UTF-8");
747 750

  
748 751
				// Change ' (%27 code) to '' for the SQL parser (before send the query)
749 752
				text = text.replaceAll("\\%27", "\\'\\'");

Also available in: Unified diff