Enkode & dekode URL
Percent-encode teks kanggo URL, utawa dekode.
Babagan Enkode & dekode URL
Percent-encode teks kanggo URL, utawa dekode.
Bagean saka seksi “Keamanan & enkoding” SmartCalcy. Lumaku ing browser panjenengan tanpa akun, nganggo mata uang lan satuan panjenengan dhewe (ganti ing sisih ndhuwur kaca), lan menehi perkiraan mung kanggo informasi, mula priksa pandhuan resmi sadurunge ngandelake asile.
Carane nganggo Enkode & dekode URL
Apa sing dietung lan kapan nganggo
Ngode lan mbalekake teks kanggo digunakake ing alamat web, kanthi percent encoding kanggo karakter khusus.
Carane nganggo, langkah demi langkah
- Tempel teks utawa URL panjenengan.
- Pilih encode utawa decode.
- Waca asile.
Tegese saben input
- Mode – Diwiwiti at Enkode.
- Input – Diwiwiti at jeneng=Zoë & Co&city=São Paulo.
- Enkode URL sakabehe (tetep : / ? & =) – Enter your dhewe figure.
Carane maca asile
- Wis dienkode – The headline answer. In the default example it reads name%3DZo%C3%AB%20%26%20Co%26city%3DS%C3….
Rumus
Unsafe characters are replaced by a % and two hex digits of their UTF-8 bytes. For example a space becomes %20.
Conto petungan
With the starting entries (Mode: Encode, Input: name=Zoë & Co&city=São Paulo), the calculator shows encoded of name%3DZo%C3%AB%20%26%20Co%26city%3DS%C3….
Asumsi lan watesan
- UTF-8 yaiku used.
- Encoding a whole URL also encodes the slashes unless you pick the component mode.
Kesalahan umum
- Encoding twice.
- Encoding the whole URL when only a parameter needs it.
Pitakonan sing kerep ditakokake
Apa bedane %20 lan +?
+ tegese spasi mung ing data formulir. %20 bisa ing ngendi wae.