my chinese file name changed when upload

Re: my chinese file name changed when upload

by Bill Burgos -
Number of replies: 0
Hello,

From what I understand, the reason that the file name has changed is that when you upload the file using multi-byte characters (Chinese, in this case) Moodle changes the characters to regular ascii format. This is to prevent injection of characters that might allow someone to hack into the system.

There is, however, a plan to use UTF-8 in future versions and I believe that this will solve the problem. A good place to start for reference is here:

http://moodle.org/mod/wiki/view.php?id=2935&page=MigrationToUFT8

and here:

http://moodle.org/mod/forum/discuss.php?d=1779

I believe that this migration has started for inclusion in version 1.6. In the meantime, you would need to change the filename to regular ascii.

Hope that this helps.

Bill

EDIT:

There is more discussion here about mobile phones and the migration to UTF-8:

http://moodle.org/mod/forum/discuss.php?d=33033