fix utf-8 named task failed with --step.
Merge pull request #3105 from shirou/devel

fix utf-8 named task failed with --step.