tn5250j/src/org/tn5250j/encoding NativeCodePage.java,1.5,1.6

[email protected]
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/encoding
In directory sc8-pr-cvs1:/tmp/cvs-serv25740/src/org/tn5250j/encoding

Modified Files:
	NativeCodePage.java 
Log Message:
fixed wrong charset names


Index: NativeCodePage.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/encoding/NativeCodePage.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** NativeCodePage.java	21 Jan 2004 13:11:14 -0000	1.5
--- NativeCodePage.java	21 Jan 2004 14:52:47 -0000	1.6
***************
*** 1242,1246 ****
           return new NativeCodePage(cp, codePage1026);
        if (cp.equals("1141")) {
!          if (isEncodingAvailable("1141")) {
              return new NativeCodePage(cp, codePage1141);
           } else {
--- 1242,1246 ----
           return new NativeCodePage(cp, codePage1026);
        if (cp.equals("1141")) {
!          if (isEncodingAvailable("Cp1141")) {
              return new NativeCodePage(cp, codePage1141);
           } else {
***************
*** 1250,1254 ****
        }
        if (cp.equals("1140")) {
!          if (isEncodingAvailable("1140")) {
              return new NativeCodePage(cp, codePage1140);
           } else {
--- 1250,1254 ----
        }
        if (cp.equals("1140")) {
!          if (isEncodingAvailable("Cp1140")) {
              return new NativeCodePage(cp, codePage1140);
           } else {




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.