Author Topic: Problems with upload a file named with multi-byte character  (Read 1665 times)

Offline cioggies

  • User
  • *
  • Posts: 4
    • View Profile
When I upload file with the multi byte file name(japanese),
file name is vanished.
eg) てすとふぁいる.txt→.txt

How can I resolve this problem?

at ver. 0.9.9

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: Problems with upload a file named with multi-byte character
« Reply #1 on: June 02, 2009, 09:54:38 AM »
Hi,

have you an error message?
Could you make a test on demo.knowledgeroot.org if it works their or not?!

Frank

Offline cioggies

  • User
  • *
  • Posts: 4
    • View Profile
Re: Problems with upload a file named with multi-byte character
« Reply #2 on: June 02, 2009, 10:25:33 AM »
Thank you for reply

I tried uploading (attached file) here. And same problem occurred.

http://demo.knowledgeroot.org/index.php?id=10918

There was no Error message.
« Last Edit: June 02, 2009, 10:31:02 AM by cioggies »

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: Problems with upload a file named with multi-byte character
« Reply #3 on: June 02, 2009, 10:33:02 AM »
Hi,

i think i have a filter in the source on the filename that allows only ascii chars.
I will try to modify this filter so that multibyte strings are also allowed.
This will be fixed in version 0.9.9.1
I have created a ticket here:
http://trac.knowledgeroot.org/cgi-bin/trac.cgi/ticket/105

I will give you feedback after fixing this.
Frank

Offline cioggies

  • User
  • *
  • Posts: 4
    • View Profile
Re: Problems with upload a file named with multi-byte character
« Reply #4 on: June 03, 2009, 01:04:49 AM »
Thank you!!
Best regards,

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: Problems with upload a file named with multi-byte character
« Reply #5 on: June 04, 2009, 09:23:40 PM »
Hi,

have you installed extension libsecure and is it enabled?

Frank

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 553
    • View Profile
    • http://www.lordlamer.de
Re: Problems with upload a file named with multi-byte character
« Reply #6 on: June 08, 2009, 09:21:58 PM »
Hi,

i have created a new version of extension libsecure that should fix the problem.
You can download the extension here:
http://download.lordlamer.de/tmp/libsecure_0.3.2.krx

Could you install this version and test it?
A short feedback after testing would be fine.

Frank