Reply to Re: Convert string for use in URLs in multilanguage environment

Your name:

Reply:


Posted by John Dunlop on 11/29/42 11:27

Markus Ernst wrote:

> 2. Is there a better way to encode strings for URLs?

Arguably. Another way is to take your character, encode it as
UTF-8 octets, and percent-encode that encoding. This is the mapping
of IRIs to URIs described in RFC3987. Take <é> (U+00E9). Encoded as
UTF-8 then percent-encoded, you get %C3%A9 (not %E9).

http://host.invalid/caf%C3%A9

--
Jock

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация