Uploaded image for project: 'Swift'
  1. Swift
  2. SR-1280

Unicode conformance readLine

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Standard Library
    • Labels:
      None

      Description

      readLine() is implemented in InputStream.swift, and it contains following comment.

      // FIXME: Unicode conformance. To fix this, we need to reimplement the
      // code we call above to get a line, since it will only stop on LF.
      //
      // <rdar://problem/20013999> Recognize Unicode newlines in readLine()
      //
      // Recognize only LF and CR+LF combinations for now.

      I cannot access rdar://problem/*, so posted here.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tinysun Han Sangjin
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: