Archive for ‘Programming’ Category
Some video sites allow you to download a show but they are broken up into multiple FLV files. The attached Avidemux Tinypy script will allow you to choose folder and join all the FLV files that are found inside and save it in a MKV container (more video player friendly). If you need to join other file types, modify the following lines: If you need to save as another file container type, modify the following lines: Pardon the messy code, it was done as a quick and dirty script. I was inserting records into a MySQL table using php and got an error that says: The original string in the ‘message’ field is actually This error is surprising given that the string is actually in UTF-8 encoding and the field in the MySQL table is declared as utf8_unicode_ci type. The solution that I found it is to call the php function utf8_encode to encode string before inserting into the MySQL table. |