i-rinat / freshplayerplugin

ppapi2npapi compatibility layer
MIT License
727 stars 52 forks source link

Flash movie on wald9.com doesn't work #330

Closed i-rinat closed 8 years ago

i-rinat commented 8 years ago

Just white screen after loading animation. Movie is loaded, but nothing happens after that.

Tracing PPB_CharSet reveals some strings (XML's) in Shift_JIS encoding are treated like UTF-8. Conversion expectedly fails. Changing ppb_char_set_get_default_char_set() to return "Shift_JIS" seems to fix the swf.

Need to revisit ppb_char_set_get_default_char_set(). What encoding it should return and why? The same swf movie works fine in Chrome launched on the same machine with UTF-8 locale.

i-rinat commented 8 years ago

Fixed in 43a48d1000bfd133f6285c575d973d9818fdda85.

Characters are still unreadable under ru_RU locale (as in Chrome too), but swf's now working.