rockdaboot / mget

Multithreaded metalink/file/website downloader (like Wget) and C library
GNU Lesser General Public License v3.0
114 stars 19 forks source link

convert filenames to local encoding #6

Closed rockdaboot closed 9 years ago

rockdaboot commented 11 years ago

Convert filenames to local encoding. Non-printable (in the means of local encoding) characters should be escaped. Right now everything >126, <32, and / is percent escaped. Since we internally work with UTF-8, we just need a UTF-8 -> local_encoding encoder plus percent escaping to non-printable characters.