Skip to content

Commit b600e87

Browse files
authored
Merge pull request #114 from cesmii/feature/113-UTF8-Encoding
#113 - Fix UTF-8 - BOM encoding issue
2 parents 9e4f252 + fe7a073 commit b600e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/CESMII.ProfileDesigner.OpcUa/OpcUaImporter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ public async System.Threading.Tasks.Task<Dictionary<string, ProfileTypeDefinitio
646646
string exportedNodeSetXml;
647647
using (MemoryStream ms = new())
648648
{
649-
using (StreamWriter writer = new(ms, Encoding.UTF8))
649+
using (StreamWriter writer = new(ms, new UTF8Encoding(false)))
650650
{
651651
try
652652
{

0 commit comments

Comments
 (0)