in reply to Re^3: Saving file name with Chinese characters
in thread Saving file name with Chinese characters
Back to the original question: Your solution shows how to save a file when you *know* the encoding for one character.
I don't know what users will upload. So I need to convert the file names on the fly. In fact, they might not even use Chinese. They might use Korean, Japanese or just English. I need a solution that would be language independent.
Years ago, I remember seeing some Perl program that would use the bytes pragma to do the conversion. Would that help?
Thanks ikegami.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Saving file name with Chinese characters
by ikegami (Patriarch) on Apr 14, 2009 at 04:10 UTC |