SwfLib icon indicating copy to clipboard operation
SwfLib copied to clipboard

Library needs to interpret strings as SHIFT_JIS encoded strings for swf versions <6

Open Gnbrkm41 opened this issue 2 years ago • 0 comments

Per SWF specification, all strings are encoded in SHIFT_JIS (which is a superset of ASCII) prior to version 6, However the library assumes all strings to be UTF-8 (which is the correct behaviour for >= version 6, however not for ones prior to that) which causes the reader/writer to produce invalid characters when non-ASCII characters are read.

Gnbrkm41 avatar Aug 10 '22 09:08 Gnbrkm41