fixed a bug of storing requirements with unicodes

Signed-off-by: Gerald <gera2ld@163.com>