From: <rv...@us...> - 2010-06-01 16:28:09
|
Revision: 700 http://treebase.svn.sourceforge.net/treebase/?rev=700&view=rev Author: rvos Date: 2010-06-01 16:28:03 +0000 (Tue, 01 Jun 2010) Log Message: ----------- Added UTF-8 specifier in content-type header Modified Paths: -------------- trunk/treebase-web/src/main/java/org/cipres/treebase/web/controllers/AbstractDownloadController.java Modified: trunk/treebase-web/src/main/java/org/cipres/treebase/web/controllers/AbstractDownloadController.java =================================================================== --- trunk/treebase-web/src/main/java/org/cipres/treebase/web/controllers/AbstractDownloadController.java 2010-05-28 08:03:51 UTC (rev 699) +++ trunk/treebase-web/src/main/java/org/cipres/treebase/web/controllers/AbstractDownloadController.java 2010-06-01 16:28:03 UTC (rev 700) @@ -26,8 +26,8 @@ private NexusService mNexmlService; private NexusService mRdfaService; private SubmissionService mSubmissionService; - private static String mNexmlContentType = "application/xml"; - private static String mRdfContentType = "application/rdf+xml"; + private static String mNexmlContentType = "application/xml; charset=UTF-8"; + private static String mRdfContentType = "application/rdf+xml; charset=UTF-8"; /** * Return the StudyService field. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |