Search notes:

JavaScript: escape()

<!DOCTYPE html>
<html>
<head>
  <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
  <title>escape</title>

  <script type="text/javascript">
    
    function main() {
      var out        = document.getElementById('out');
      out.innerHTML += escape ("René ☺");  // Ren%E9%20%u263A
    }

  </script>

</head>
<body onload='main()';>
  <div id='out'></div> 

  <a href='../../String/fromCharCode.html'>Compare with fromCharCode</a>.
</body>
</html>
Github repository about-javascript, path: /objects/Global-Object/function-properties/escape.html

See also

Compare with String.fromCharCode().

Index