Skip to content

[SR-1280] Unicode conformance readLine #43888

Open
@swift-ci

Description

@swift-ci
Previous ID SR-1280
Radar rdar://problem/20013999
Original Reporter tinysun (JIRA User)
Type Improvement
Additional Detail from JIRA
Votes 1
Component/s Standard Library
Labels Improvement
Assignee None
Priority Medium

md5: 001f9dad12b054615ab07d0ec9cf6287

Issue 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions