Skip to main content
1 vote
0 answers
33 views

How to add .Net Framework into Cyclone DX BoM?

How should .Net Framework be accounted for in a CycloneDX SBoM? We have C# applications that are developed in VS2022. We can use cyclonedx-dotnet to automagically generate an SBoMs that contains all ...
bjtieman's user avatar
0 votes
0 answers
27 views

BOM Merging Excel columns while working on CSV C#

I am working on a CSV file where a user will download a template which contains header field and after that user will enter the data into the csv and save the csv after that upload the csv into the ...
Ibrahim shaikh's user avatar
0 votes
1 answer
32 views

Prevent Visual Studio from adding a BOM when transforming files

I have a JSON file someconfig.json along with Debug/Release transforms files someconfig.Debug/Release.json. All three are encoded in UTF-8 without BOM. But the files resulting from the transforms are ...
Pragmateek's user avatar
  • 13.3k
1 vote
1 answer
154 views

special characters being replaced by PowerShell with a question mark?

We've written a script to loop through all our files and remove a certain string. The string contains no special characters and the script does remove the string and replace it with nothing like we're ...
Amanda Hansen's user avatar
0 votes
0 answers
24 views

Visual Studio 2022 adds byte order mark to python files [duplicate]

I'm using Visual Studio 2022 to develop some python. It appears that visual studio adds byte order marks to each python file. I didn't know about these things, but these are not playing well with some ...
Jeroen3's user avatar
  • 931
1 vote
1 answer
107 views

Problem pulling pre-formatted Base64 from SQL into C#

I am being tasked with pulling base64-encoded image data from a SQL Server database into a C# (Blazor Server .NET 8) application, and embedding the image into the <a> of an html element. I've ...
Starship24's user avatar
0 votes
0 answers
20 views

Byte marks in a ASP.NET Core razor view

When I run my app and inspect my HTML in the browser, I see this thing: It doesn't appear in my .cshtml file and it really messes up with my layout(it's the cause for the margin between the heading ...
Alice's user avatar
  • 21
0 votes
0 answers
139 views

problem to send udp packet with ncat and Windows 11

I use ncat on Windows 10 and 11 with powershell My script : "1111" | ncat -w1 -n "10.10.10.255" -u 1234 On Windows 10, "1111" is sent ([31 31 31 31 0d a0]): it is OK. On ...
ExtremG's user avatar
  • 29
0 votes
1 answer
55 views

How to configure NLog to save to a UTF8+BOM file?

This is how my logging is configured: private static void SetupLogging(string logFile) { var Config = new NLog.Config.LoggingConfiguration(); var logfile = new NLog.Targets.FileTarget("...
Andrew Truckle's user avatar
2 votes
1 answer
115 views

Modify the output of this script so that it is read as BOM-less UTF-8

I have several .csv files in a folder with the second column empty and I would like to fill it with the data present in as many csv files with the same name+column3. Example: firstfile.csv header1,...
Edoardo Endrizzi's user avatar
0 votes
1 answer
210 views

How do I use PowerShell to create UTF8 file with NO BOM (Byte Order Marks)

I have a SQL Server SQL Agent job that is using PowerShell and the following script to create a csv file, however the script is putting hidden Byte Order Marks (BOMs) in my output. How do I remove the ...
Deb Richardson's user avatar
0 votes
0 answers
79 views

Is there an official documenation for REG file recommended encoding?

When exporting a REG file via Windows' built-in tools (UI regedit.exe or command line reg import), it uses UTF16 LE with BOM. The Wikipedia .reg entry claims on Windows 2000 and later, REG files are ...
LWC's user avatar
  • 1,156
1 vote
1 answer
50 views

BOM: binary output from Oracle xquery

We need to write UTF-8 csv file from the OSB. To make Excel open it correctly we need to add BOM sequence EFBBBF at the beginning of the file. Is it possible to append binary data to the body, which ...
Dmytro's user avatar
  • 43
0 votes
1 answer
95 views

Prevent addition of a BOM to UTF-8 SecureCRT session logged files

SecureCRT appears to be adding a BOM to all session logged files no matter what character encoding is selected. When UTF-8 is used, SecureCRT generates a UTF-8 with BOM file rather than a simple UTF-...
Nicholas Sparrow's user avatar
0 votes
1 answer
431 views

Remove UTF-8 BOM from TStream output

I'm using Delphi 11. I have to write a UTF-8 .csv file without a BOM using a TStream object, but using TEncoding.UTF8 produces a UTF-8 file with a BOM, so I tried using the encoding directly without ...
Franz Andreani's user avatar

15 30 50 per page
1
2 3 4 5
40