Skip to content

Commit b460ef6

Browse files
committed
Add contants for [CSV-51] Support Unicode line separators.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1495914 13f79535-47bb-0310-9956-ffa450edef68
1 parent d5cc0d8 commit b460ef6

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

src/main/java/org/apache/commons/csv/Constants.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,20 @@ final class Constants {
4949

5050
/** According to RFC 4180, line breaks are delimited by CRLF */
5151
static final String CRLF = "\r\n";
52+
53+
/**
54+
* Unicode line separator.
55+
*/
56+
static final String LINE_SEPARATOR = "\u2028";
57+
58+
/**
59+
* Unicode paragraph separator.
60+
*/
61+
static final String PARAGRAPH_SEPARATOR = "\u2029";
62+
63+
/**
64+
* Unicode next line.
65+
*/
66+
static final String NEXT_LINE = "\u0085";
5267

5368
}

0 commit comments

Comments
 (0)