------------------------------------------------------------
revno: 11798
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Mon 2013-08-26 09:21:17 +0200
message:
  be explicit about utf-8 charset in JacksonEventService
modified:
  
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/event/JacksonEventService.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/event/JacksonEventService.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/event/JacksonEventService.java	2013-08-23 16:05:01 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/event/JacksonEventService.java	2013-08-26 07:21:17 +0000
@@ -53,7 +53,7 @@
     {
         ImportSummaries importSummaries = new ImportSummaries();
 
-        String input = StreamUtils.copyToString( inputStream, Charset.defaultCharset() );
+        String input = StreamUtils.copyToString( inputStream, Charset.forName( "UTF-8" ) );
 
         try
         {
@@ -85,7 +85,7 @@
     {
         ImportSummaries importSummaries = new ImportSummaries();
 
-        String input = StreamUtils.copyToString( inputStream, Charset.defaultCharset() );
+        String input = StreamUtils.copyToString( inputStream, Charset.forName( "UTF-8" ) );
 
         try
         {

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to