    }
    
    
+Index: src/free/jin/console/ConsoleManager.java
+===================================================================
+RCS file: /cvsroot/jin/jin/src/free/jin/console/ConsoleManager.java,v
+retrieving revision 1.70
+diff -u -r1.70 ConsoleManager.java
+--- src/free/jin/console/ConsoleManager.java	22 Jul 2008 09:49:54 -0000	1.70
++++ src/free/jin/console/ConsoleManager.java	6 Jan 2011 07:15:07 -0000
+@@ -246,7 +246,7 @@
+    */
+   
+   private void loadEncoding(){
+-    String encoding = getPrefs().getString("encoding", TextUtilities.getDefaultCharsetName());
++    String encoding = getPrefs().getString("encoding", "UTF-8"); // wtm TextUtilities.getDefaultCharsetName());
+ 
+     this.encoding = Charset.isSupported(encoding) ? encoding : null;
+   }
+@@ -726,7 +726,8 @@
+   
+   public void setEncoding(String encoding) throws UnsupportedEncodingException{
+     if (encoding == null)
+-      encoding = TextUtilities.getDefaultCharsetName();
++      //wtm encoding = TextUtilities.getDefaultCharsetName();
++      encoding = "UTF-8";
+     
+     if (!Charset.isSupported(encoding))
+       throw new UnsupportedEncodingException(encoding);
 Index: src/free/jin/freechess/JinFreechessConnection.java
 ===================================================================
 RCS file: /cvsroot/jin/jin/src/free/jin/freechess/JinFreechessConnection.java,v
 retrieving revision 1.98
 diff -u -r1.98 JinFreechessConnection.java
 --- src/free/jin/freechess/JinFreechessConnection.java	10 Mar 2008 02:16:09 -0000	1.98
-+++ src/free/jin/freechess/JinFreechessConnection.java	6 Jan 2011 04:16:42 -0000
++++ src/free/jin/freechess/JinFreechessConnection.java	6 Jan 2011 07:15:11 -0000
 @@ -109,7 +109,8 @@
     */
    

? release/compile
Index: release/build.xml
===================================================================
RCS file: /cvsroot/jin/jin/release/build.xml,v
retrieving revision 1.63
diff -u -r1.63 build.xml
--- release/build.xml	24 Feb 2008 02:18:25 -0000	1.63
+++ release/build.xml	6 Jan 2011 04:16:34 -0000
@@ -26,7 +26,7 @@
 	<dirname property="app.dir" file="." /> <!-- The directory of the buildfile to run to build the app -->
 	<property name="releasefiles.dir" value="${app.dir}/build" /> <!-- The directory of the files to release -->

-          pin.unread(b);
+
+        if (b > 0) {
+          if (((b == '\r') || (b == '\n')) && b != oldb) {
         
-        // Ignore all-prompt lines
-        if (lineStartsWithPrompt && (buf.length() == 0)){
-          lineStartsWithPrompt = false;
-          continue;
+          // Ignore all-prompt lines
+          if (lineStartsWithPrompt && (out.size() == 0)){
+            lineStartsWithPrompt = false;
+            continue;
+          }
+          else
+            break;
+          }
+          else {
+            pin.unread(b);
+          }
         }
-        else
-          break;
       }
       
-      buf.append((char)b);
+      out.write((byte)b);
+      //System.out.print(Integer.toHexString(b) + " ");
       
       // Filter out the prompt
-      if (buf.toString().equals("fics% ")){
-        buf.setLength(0);
+      if (out.toString("UTF-8").equals("fics% ")){
+        out.reset();
         lineStartsWithPrompt = true;
       }
     }
-    
-    return buf.toString();
+
+    // FatICS always uses UTF-8
+    return out.toString("UTF-8");
   }
   
   
@@ -523,7 +537,7 @@
     
     if (logStream != null)
       logStream.println(line);
-    
+
     if (handleGameInfo(line))
       return;
     if (handleStyle12(line))
Index: src/free/jin/console/AbstractConsoleDesignation.java
===================================================================
RCS file: /cvsroot/jin/jin/src/free/jin/console/AbstractConsoleDesignation.java,v
retrieving revision 1.18
diff -u -r1.18 AbstractConsoleDesignation.java
--- src/free/jin/console/AbstractConsoleDesignation.java	16 Mar 2008 01:18:02 -0000	1.18
+++ src/free/jin/console/AbstractConsoleDesignation.java	6 Jan 2011 07:15:06 -0000
@@ -339,6 +339,7 @@
   
   private String getActualEncoding(){
