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