[pal-cvs 3244] [978] supported license file encoded by utf-8.

svnno****@sourc***** svnno****@sourc*****
2008年 6月 12日 (木) 18:21:33 JST


Revision: 978
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=978
Author:   shinsuke
Date:     2008-06-12 18:21:32 +0900 (Thu, 12 Jun 2008)

Log Message:
-----------
supported license file encoded by utf-8.

Modified Paths:
--------------
    pal-portal/modules/ant-installer/trunk/lib/ant-installer-ext.jar
    pal-portal/modules/ant-installer/trunk/lib/ant-installer.jar
    pal-portal/modules/ant-installer/trunk/src/org/tp23/antinstaller/renderer/swing/LicensePageRenderer.java
    pal-portal/modules/ant-installer/trunk/src/org/tp23/antinstaller/renderer/text/LicensePageRenderer.java


-------------- next part --------------
Modified: pal-portal/modules/ant-installer/trunk/lib/ant-installer-ext.jar
===================================================================
(Binary files differ)

Modified: pal-portal/modules/ant-installer/trunk/lib/ant-installer.jar
===================================================================
(Binary files differ)

Modified: pal-portal/modules/ant-installer/trunk/src/org/tp23/antinstaller/renderer/swing/LicensePageRenderer.java
===================================================================
--- pal-portal/modules/ant-installer/trunk/src/org/tp23/antinstaller/renderer/swing/LicensePageRenderer.java	2008-06-12 08:13:46 UTC (rev 977)
+++ pal-portal/modules/ant-installer/trunk/src/org/tp23/antinstaller/renderer/swing/LicensePageRenderer.java	2008-06-12 09:21:32 UTC (rev 978)
@@ -60,7 +60,7 @@
 		if (licensein == null) {
 			throw new ConfigurationException("License resource '" + resource + "' is missing from installer");
 		}
-		BufferedReader reader = new BufferedReader(new InputStreamReader(licensein));
+		BufferedReader reader = new BufferedReader(new InputStreamReader(licensein, "UTF-8"));
 		StringBuffer sb = new StringBuffer();
 		String line;
 		while((line = reader.readLine()) != null){

Modified: pal-portal/modules/ant-installer/trunk/src/org/tp23/antinstaller/renderer/text/LicensePageRenderer.java
===================================================================
--- pal-portal/modules/ant-installer/trunk/src/org/tp23/antinstaller/renderer/text/LicensePageRenderer.java	2008-06-12 08:13:46 UTC (rev 977)
+++ pal-portal/modules/ant-installer/trunk/src/org/tp23/antinstaller/renderer/text/LicensePageRenderer.java	2008-06-12 09:21:32 UTC (rev 978)
@@ -62,7 +62,7 @@
 			if (licensein == null) {
 				throw new ConfigurationException("License resource '" + resource + "' is missing from installer");
 			}
-			BufferedReader reader = new BufferedReader(new InputStreamReader(licensein));
+			BufferedReader reader = new BufferedReader(new InputStreamReader(licensein, "UTF-8"));
 			printHeader(page);
 			String lineread = null;
 			StringBuffer sb = new StringBuffer();


pal-cvs メーリングリストの案内