Skip to content

Commit fe7a073

Browse files
committed
#113 - Fix UTF-8 - BOM encoding issue when downloading one of "my profiles".
1 parent 9887384 commit fe7a073

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)