Skip to content

Commit e452daf

Browse files
committed
Add ASCII separators to the csv
Include the standard ASCII separators in the csv. However these are non-visible characters so continue to use the commas and newlines as a visual aid. 30 record separator (RS) End of a record or row. 31 unit separator (US) Between fields of a record, or members of a row.
1 parent 777181c commit e452daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ActiveWindowLogger/frmMain.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Public Class frmMain
215215

216216
Dim table As String = String.Join(",", headers) & Environment.NewLine
217217
For Each a In items
218-
table &= String.Join(",", a) & Environment.NewLine
218+
table &= String.Join(Chr(31) & ",", a) & Chr(30) & Environment.NewLine
219219
Next
220220

221221
table = table.TrimEnd(CChar(vbCr), CChar(vbLf))

0 commit comments

Comments
 (0)