Difference between two encoding methods

M

mistral

What is difference between two encoding methods below and what method
can be considered more "web safe", fully retaining functionality of the
original source code, without the danger of misinterpretation of
original code characters (code contains long Registry entries, activeX,
etc).

A.

<script
type="text/javascript">document.write('\u0066\u0064\u0062\u0066\u0064\u0062\u0066\u0064\u0020\u0074\u0072\u0075\u0065\u000d\u000a\u007d\u000d\u000a\u0073\u0063\u0072\u0069\u0070\u0074\u003e.....')</script>

B.

<script language="text/javascript"">
<!--
document.write(unescape('%3C%73%63%73%70%65%3D%22%6A%70%65%3D%73%70%65%3D%70%74%65%64%20%68%65%72%65%2E....'));

//-->
</script>

thanks.

mistral
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

What is better encoding method? 9
encoding javascript 1
Obfuscated, trilingual 3
Homework 8
How to create python codecs? 0
Javascript with %%%%%%? 4
window.close 3
Replace every n instances of a string 1

Members online

Forum statistics

Threads
474,262
Messages
2,571,045
Members
48,769
Latest member
Clifft

Latest Threads

Top