Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4924014

No support for cp1047 encoding (IBM-1047 alias not supported)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.1
    • core-libs
    • None

      Customer has web applications that are served from an IBM mainframe linux image.
      They are getting errors when trying to access the applications.
      eg:
      http://swforum.sun.com/jive/thread.jsp?forum=2&thread=528


      HTTP/1.1 401 Unauthorized
      Server: IBM HTTP Server/V5R3M0
      Date: Tue, 19 Aug 2003 20:35:09 GMT
      Connection: keep-alive
      Accept-Ranges: bytes
      Content-Type: text/html; charset=IBM-1047
      Content-Length: 285
      Last-Modified: Tue, 19 Aug 2003 20:35:09 GMT
      Expires: Tue, 19 Aug 2003 20:35:09 GMT
      Pragma: no-cache
      Cache-Control: no-cache
      WWW-Authenticate: Basic realm="ADTSO"

      IMW0254E <HTML><HEAD><TITLE>Error</title></head><BODY
      bgcolor="#FFF7E7"><H1>Error 401</h1>IMW0216E Not
      authorized. Authentication failed.<P><HR><ADDRESS><A
      HREF="http://webtest.is.chrysler.com/" target="_top">IBM HTTP Server -
      North American Edition V5R3M0</a></address></body></html>GET
      /cgi-bin/db2www/restricted/slsmkt/ffms/DriverEntry.d2w/input HTTP/1.1
      Host: webtest.is.chrysler.com
      Connection: keep-alive
      Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
      application/vnd.ms-excel, application/vnd.ms-powerpoint,
      application/msword, application/x-shockwave-flash, */*
      Referer: http://webtest.is.chrysler.com/slsmkt/ffms/MainMenu.htm
      Accept-Language: en-us
      User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
      1.1.4322)
      Cookie: UUID=3F42430A:000C5C05:129.9.153.249:8319404F; OPENALTEON=0a200c6a;
      ipsDomain=dc
      X-Forwarded-For: 64.28.83.110
      Via: 1.0 cassdc01 (NetCache NetApp/5.3.1R2)



      Canonical name of the unicode is cp1047.

      We have checked the supported encodings and this one appears not to be
      supported.

      http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html
      http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html
      http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html



      ###@###.### 2003-09-23

            ilittlesunw Ian Little (Inactive)
            rabarker Rich Barker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: