Skip to content

Commit 892fd94

Browse files
committed
Reencode string properly
1 parent 7a72961 commit 892fd94

File tree

1 file changed

+1
-1
lines changed
  • BinaryObjectScanner/FileType

1 file changed

+1
-1
lines changed

BinaryObjectScanner/FileType/CFB.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public bool Extract(Stream? stream, string file, string outDir, bool includeDebu
145145
}
146146

147147
output[q] = 0;
148-
return Encoding.ASCII.GetString(output);
148+
return Encoding.UTF8.GetString(output);
149149
}
150150

151151
/// <remarks>Adapted from LibMSI</remarks>

0 commit comments

Comments
 (0)