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

native2ascii is broken in regards to line-ends

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.6
    • core-libs



      Name: gsC80088 Date: 03/09/99


      call native2ascii with the following parameters:

      native2ascii -reverse -encoding Unicode in-file out-file.

      The resulting file contains end-of-line markers consisting of 0x0d 0x0a instead of 0x00 0x0d 0x00 0x0a

      It appears that the tool is appending the local platform end-of-line after converting the string, when it
      should be appended to the string before conversion.
      (Review ID: 38964)
      ======================================================================

            ilittlesunw Ian Little (Inactive)
            gstone Greg Stone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: