2011-12-27 69 views

回答

0

钝溶液:

"Thanks for the update\205".encode('ascii', :invalid => :replace, :replace => "") 
=>"Thanks for the update" 

看到String#encode一个更微妙的方式

相关问题