Closed kdbanman closed 10 years ago
There are native javascript global functions for encoding and for decoding.
Its effects can be played with here.
Slashes and colons:
Decoded: http://dbpedia.org/resource/Category:German_Jews_who_emigrated_to_the_United_States_to_escape_Nazism
http://dbpedia.org/resource/Category:German_Jews_who_emigrated_to_the_United_States_to_escape_Nazism
Encoded:
http%3A%2F%2Fdbpedia.org%2Fresource%2FCategory%3AGerman_Jews_who_emigrated_to_the_United_States_to_escape_Nazism
UTF characters:
Decoded:
http://ja.dbpedia.org/resource/アルベルト・アインシュタイン
http%3A%2F%2Fja.dbpedia.org%2Fresource%2F%E3%82%A2%E3%83%AB%E3%83%99%E3%83%AB%E3%83%88%E3%83%BB%E3%82%A2%E3%82%A4%E3%83%B3%E3%82%B7%E3%83%A5%E3%82%BF%E3%82%A4%E3%83%B3
5d88d10
There are native javascript global functions for encoding and for decoding.
Its effects can be played with here.
Examples
Slashes and colons:
Decoded:
http://dbpedia.org/resource/Category:German_Jews_who_emigrated_to_the_United_States_to_escape_Nazism
Encoded:
http%3A%2F%2Fdbpedia.org%2Fresource%2FCategory%3AGerman_Jews_who_emigrated_to_the_United_States_to_escape_Nazism
UTF characters:
Decoded:
http://ja.dbpedia.org/resource/アルベルト・アインシュタイン
Encoded:
http%3A%2F%2Fja.dbpedia.org%2Fresource%2F%E3%82%A2%E3%83%AB%E3%83%99%E3%83%AB%E3%83%88%E3%83%BB%E3%82%A2%E3%82%A4%E3%83%B3%E3%82%B7%E3%83%A5%E3%82%BF%E3%82%A4%E3%83%B3