2011-12-27 68 views

回答

0

鈍溶液:

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

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

相關問題