Hi, all. Text encoding of inner swf strings is environment-dependent before SWF Version 6. For example, strings encoded in cp932 in Japan.
And Flash Lite 1.x based on Flash 4 is still lot in use for celler phones in Japanese. "swfmill swf2xml" fails for such swf files because swfmill insert inner swf string into libxml doc tree without encoding conversion. (text encoding must be UTF-8 in libxml doc tree.) I fixup swfmill to convert text encoding in swf2xml and xml2swf. And attached patch is the fix. * "swfmill -e cp932 swf2xml foo.swf bar.xml" converts encoding from cp932(in swf) into UTF-8(in xml). * "swfmill -e cp932 xml2swf bar.xml foo.swf" converts encoding from UTF-8(in xml) into cp932(in swf). Do anyone want this option? I want this patch applied to swfmill. But if no one wants this option, making swfmill Japanese branch is better for me, maybe. -- Sorry about my poor English. INADA Naoki <[EMAIL PROTECTED]>
encoding.patch
Description: Binary data
_______________________________________________ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org