• CF7 delivers attachments just fine if the filename is in English. But if it contains Japanese characters, some funny things happen.

    If the user uploads a file called “楽しい時間を過ご.docx”, a file named “unnamed-file.docx” is delivered. Apparently, all the Japanese characters are removed leaving the filename blank.

    It seems that all characters preceding a Roman character are cut off. For example…
    Q楽しいD時間を1過ご9.docx -> Q楽しいD時間を1過ご9.docx
    楽しいD時間を1過ご 0.docx -> D時間を1過ご.docx
    Any Japanese characters following a Roman character are fine.

    Has anyone else run into this issue?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use?

    Thread Starter friendofdog

    (@friendofdog)

    Thanks for the quick reply!

    I’ve tested it in a number of ways, including twentyseventeen with no active plugins (except for CF7, of course). The results are all the same. WP core and CF7 are latest versions.

    But to answer your question, the site I referenced is built on Beans (https://getbeans.io) with:
    – ACF (with ACF CF7, ACF WPML, Really Simple CAPTCHA)
    – CF7 (with Dynamic Text Extension, Cf7 Fields Repeater)
    – WP Job Manager
    – WPML (with String Translation)
    – Yoast

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all other plugins than Contact Form 7. Of course turn off the “Dynamic Text Extension”, “Cf7 Fields Repeater” as well.

    Thread Starter friendofdog

    (@friendofdog)

    I’ve tested it in a number of ways, including twentyseventeen with no active plugins (except for CF7, of course). The results are all the same. WP core and CF7 are latest versions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Attachment “unnamed” if filename is Japanese’ is closed to new replies.