Fixed File Encoding for service
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@84789 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ccf47b6e04
commit
23f62d7df3
|
@ -755,10 +755,10 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
|
||||
Map<String, Object> parameterInstances = new HashMap<String, Object>();
|
||||
parameterInstances.put(URL, fileUrlOnStorage);
|
||||
parameterInstances.put(SEPARATOR, fileUploadSession
|
||||
.getParserConfiguration().getDelimiter());// ','
|
||||
parameterInstances.put(SEPARATOR, String.valueOf(fileUploadSession
|
||||
.getParserConfiguration().getDelimiter()));// ','
|
||||
parameterInstances.put(ENCODING, fileUploadSession
|
||||
.getParserConfiguration().getCharset());// "UTF-8"
|
||||
.getParserConfiguration().getCharset().name());// "UTF-8"
|
||||
boolean hasHeader = true;
|
||||
if (fileUploadSession.getParserConfiguration().getHeaderPresence() == HeaderPresence.NONE) {
|
||||
hasHeader = false;
|
||||
|
|
Loading…
Reference in New Issue