search for: lyric_initial_data

Displaying 1 result from an estimated 1 matches for "lyric_initial_data".

2010 Sep 24
4
invalid argument for file creating
...spiderController#scrap_one_category Invalid argument - e:/rails/lyric/public/song/e/Energy/ [ar:Energy.lrc ##### I use the following codes to create and write to files: ##### File.open(singer_dir+"/"+UTF8_TO_GBK.iconv(song_title)+".lrc",''w'')do |f| f.write(lyric_initial_data) end ##### It is impossible to drop those special characters individually,and they are valid file names on my windows system when i manually create the file using them. I have used the CGI escape methods,but the resulted filename was not what i want. how to keep those characters for file name,a...