epic-s6ts
[kivitendo-erp.git] / js / show_vc_details.js
index 5595e72..067a264 100644 (file)
@@ -6,9 +6,10 @@ function show_vc_details(vc) {
   if (vc_id)
     vc_id = vc_id[0].value;
   url = "common.pl?" +
+    "INPUT_ENCODING=UTF-8&" +
     "action=show_vc_details&" +
-    "vc=" + escape(vc) + "&" +
-    "vc_id=" + escape(vc_id)
+    "vc=" + encodeURIComponent(vc) + "&" +
+    "vc_id=" + encodeURIComponent(vc_id)
   //alert(url);
   window.open(url, "_new_generic", parm);
 }