javascriptで日本語エンコードjavascriptで日本語エンコードする時の関数なのだ。 escape() encodeURI() encodeURIComponent 普通はencodeURI()かな。