I want to see if the String "Streamer" is inside, but it always returns false. The String isn't for sure inside the file. I think that the String is really a String. If I print the whole String some weird characters appear on top of the file.
Console Image
// index.js
let sini = fs.readFileSync("C:\\Windows\\Sandboxie.ini", 'utf-8');
console.log(sini.includes("Streamer"))
# Sandboxie.ini
#
# Sandboxie-Plus configuration file
#
[GlobalSettings]
Template=WindowsRasMan
Template=WindowsLive
Template=OfficeLicensing
Template=OfficeClickToRun
[UserSettings_0D06021F]
SbieCtrl_UserName=tomie
SbieCtrl_NextUpdateCheck=1655566649
SbieCtrl_WindowCoords=121,311,1237,632
SbieCtrl_ActiveView=40021
SbieCtrl_ProcessViewColumnWidths=250,70,300
SbieCtrl_HideMessage=2223,Eckernfoerde.mov [Mjolnir4285177803 / 115906982]
SbieCtrl_ExplorerWarn=n
SbieCtrl_BoxExpandedView=DefaultBox
[DefaultBox]
ConfigLevel=9
AutoRecover=y
BlockNetworkFiles=y
Template=OpenSmartCard
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#00FFFF,ttl,6
Enabled=y
[Streamer360384]
Enabled=y
[Streamer127138]
Enabled=y