Fixed #2428 Charset setting on FLA export in format MX and below,

Default charset for SWFS v5 and lower is WINDOWS-1252
This commit is contained in:
Jindra Petřík
2025-04-06 18:20:28 +02:00
parent e551fb8dc4
commit c45eb35120
7 changed files with 12 additions and 8 deletions
@@ -6022,7 +6022,7 @@ public class XFLConverter {
InputStorageInterface inputStorage = new ZippedInputStorage(new File(zipfile));
OutputStorageInterface outputStorage = new CfbOutputStorage(new File(outfile));
FlaConverter contentsGenerator = new FlaConverter(cbfFlaVersion);
FlaConverter contentsGenerator = new FlaConverter(cbfFlaVersion, swf.getCharset());
contentsGenerator.convert(inputStorage, outputStorage);
inputStorage.close();
outputStorage.close();