Show
Ignore:
Timestamp:
02/16/10 13:56:50 (2 years ago)
Author:
chrismylonas
Message:

byte[] barray = theString.getBytes("ISO-8859-1") --- The charset is now passed to combat against systems that are configured with environmental variable (LANG) that have UTF-8 encodings.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/org/opencsta/net/TCPClient.java

    r7 r8  
    165165        } 
    166166                try{ 
    167             byte[] barray = theString.getBytes() ; 
     167            byte[] barray = theString.getBytes("ISO-8859-1") ; 
    168168            out.write(barray) ; 
    169169//                      out.writeBytes(theString) ;