swfmill icon indicating copy to clipboard operation
swfmill copied to clipboard

“ANSI” strings decoded as ISO-8859-1, but are actually Windows-1252

Open djcsdy opened this issue 12 years ago • 0 comments

In SWF 5 and below, string values are either “ANSI” or Shift-JIS.

It turns out that when Adobe say “ANSI”, they mean Windows-1252. However, swfmill decodes strings as if they are ISO-8859-1 encoded.

Differing characters include U+201C LEFT DOUBLE QUOTATION MARK, which is 0x93 when encoded in Windows-1252, but not encodable in ISO-8859-1.

djcsdy avatar Dec 21 '13 02:12 djcsdy