[modify] add utf encoding parameter to ruby file