call 'force_encoding' method

ref. http://qa.atmarkit.co.jp/q/2759#answer_15354
the error dosen't occur if markdown isn't used
resolved