corrected timecode computation
updated test
added unicode support