开发者

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&egrave.html)? why and how?


with URI::Escape?

http://www.ruby-doc.org/stdlib/libdoc/uri/rdoc/classes/URI/Escape.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜