mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add support for choosing character encoding in appropiate command.
This commit is contained in:
@@ -117,6 +117,16 @@ namespace DiscImageChef.Filesystems.CPM
|
||||
CurrentEncoding = Encoding.GetEncoding("IBM437");
|
||||
}
|
||||
|
||||
public CPM(Encoding encoding)
|
||||
{
|
||||
Name = "CP/M File System";
|
||||
PluginUUID = new Guid("AA2B8585-41DF-4E3B-8A35-D1A935E2F8A1");
|
||||
if(encoding == null)
|
||||
CurrentEncoding = Encoding.GetEncoding("IBM437");
|
||||
else
|
||||
CurrentEncoding = encoding;
|
||||
}
|
||||
|
||||
public CPM(ImagePlugin imagePlugin, Partition partition, Encoding encoding)
|
||||
{
|
||||
device = imagePlugin;
|
||||
|
||||
Reference in New Issue
Block a user