Skip to content

CSV file encoding not explicitly set to UTF-8 #63

Description

@bergerb

Description

\FileProcessor.cs\ uses
ew StreamWriter(filePath)\ which defaults to UTF-8 without BOM. However, the OneRoster 1.1 Best Practice Guide (section 4.1) requires:

'The CSV files must be UTF-8 encoded [RFC3629].'

While the default StreamWriter behavior produces UTF-8, being explicit avoids ambiguity across platforms.

File to fix

\FileProcessor.cs\ line 25 — change to:

\\csharp
using var writer = new StreamWriter(filePath, false, System.Text.Encoding.UTF8);
\\

Impact

Low — current output is already UTF-8, but explicit encoding removes any ambiguity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions