URL charset encoding google vs yahoo
What's the best way to manage i18n urls? It开发者_开发知识库's strange because google and facebook encode utf8 ex. search ★。SмAck%2BтнAт。★ on google
while yahoo doesn't do it. ex. search ★。SмAck%2BтнAт。★ on yahoo
How do u manage utf8 urls and which libs do u use?
-- edit I tried on Firefox and the behavior is the same, so the question is: Do you have the urls in UTF8 (/pagina/bigné.html) or do u traslitterate them in ASCII (/pagina/bignè.html)? why and how?
with URI::Escape
?
http://www.ruby-doc.org/stdlib/libdoc/uri/rdoc/classes/URI/Escape.html
精彩评论