View previous topic :: View next topic |
Author |
Message |
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1483
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54615 Location: 56N 3W
|
Posted: Sat Apr 04, 2020 11:53 am Post subject: |
|
|
ulenrich,
Look at the ASCII character table.
Any printable character there can be replaced with %<hex>.
So '(' becomes %28
The ) is left as an exercise for the reader. :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1483
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22805
|
Posted: Sat Apr 04, 2020 3:55 pm Post subject: |
|
|
You may also find man ascii useful as a local reference for character codes. Vim users can use ga to display the value of the character under the cursor. If you need to look up the codes of many characters at once, the tool xxd (from app-editors/vim-core) can produce a hex dump of its entire input. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Apr 04, 2020 8:40 pm Post subject: |
|
|
Just ctrl+c it from the browser url bar and it's encoded automatically. |
|
Back to top |
|
|
|