Template:Case preserving encode
From Mises Wiki, the global repository of classical-liberal thought
Usage
To preserve first letter case while still encoding safely for URLS
-
{{Case preserving encode|São Paulo}}
gives: S%C3%A3o_Paulo -
{{Case preserving encode|são Paulo}}
gives: s%C3%A3o_Paulo
See also
- Template talk:Sec link for explanation of the "Template:" hack.
The above documentation is transcluded from Template:Case preserving encode/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |