Support » Plugin: Memphis Documents Library » Asian Characters

  • Resolved cksong


    This works well and fit my requirement except one point.
    My test result for the file name with Asian characters(Chinese, Japanese and Korean) as follows;
    1. Singe file upload: No problem at Chrome. IE11 shows corrupted file name.
    2. Multi file upload using zip: Asian characters are gone and shows file extension only.
    3. Multi file upload using mdoc-ftp: same result as above.
    I presume there are improper processing when import files from zip or mdoc-ftp.
    If any solution for UTF-8 Asian character(file name) is provided, I will be more than happy.

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


    thanks for the report, I will have to look into this and see what I can do to fix the issue.

    Just on a side note, mDocs does not support IE11. Edge is the only support browser.

    Plugin Author bhaldie


    i still haven’t forgot about this issue, but its a little tricky to solve. The zip method is the problem and I haven’t found a work around yet.

    I have solved my problem as follows;

    1. Start file name with number or English alphabet. Then, the file name including Asian character remains as it is. I added up serial numbers to all of original file names before upload.
    Example: XXXX.txt -> 1XXXX.txt (X is Asian character)

    2. To solve broken file name at download(especially IE11), I modified mdocs-downloads.php line59 as follows(for the case of Korean character);

    header(‘Content-Disposition: attachment; filename=’.iconv(‘UTF-8′,’euc-kr’,$filename));

    Though it took some time for me to find and test this solution, above solved my problem.

    Plugin Author bhaldie


    thanks for the input, I’ve added your code snippet to the next version of mDocs, it will be available in version 3.9.12 let me know if it works for you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Asian Characters’ is closed to new replies.