mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 20:04:13 +08:00
(Encodings.WithFatalFallback): set fatal fallback for decoder, too.
This commit is contained in:
parent
0120c3405a
commit
e03fedcb5a
@ -40,6 +40,7 @@ namespace GameRes
|
|||||||
{
|
{
|
||||||
var encoding = enc.Clone() as Encoding;
|
var encoding = enc.Clone() as Encoding;
|
||||||
encoding.EncoderFallback = EncoderFallback.ExceptionFallback;
|
encoding.EncoderFallback = EncoderFallback.ExceptionFallback;
|
||||||
|
encoding.DecoderFallback = DecoderFallback.ExceptionFallback;
|
||||||
return encoding;
|
return encoding;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user