aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/templates/server/doc_create.html3
-rw-r--r--version.txt2
2 files changed, 3 insertions, 2 deletions
diff --git a/server/templates/server/doc_create.html b/server/templates/server/doc_create.html
index 908d1eb..6ba708c 100644
--- a/server/templates/server/doc_create.html
+++ b/server/templates/server/doc_create.html
@@ -200,7 +200,8 @@ $(document).ready(function(){
function preview() {
var param = document.getElementById("param").value;
- var param_base64 = btoa(param);
+ let utf8Encode = new TextEncoder();
+ var param_base64 = btoa(String.fromCharCode.apply(null, new Uint8Array(utf8Encode.encode(param))));
window.open("{%url 'custom_parameters_preview' %}?param=" + param_base64);
}
{% endblock %} \ No newline at end of file
diff --git a/version.txt b/version.txt
index 29e7716..cabc73b 100644
--- a/version.txt
+++ b/version.txt
@@ -1,2 +1,2 @@
version=0.6
-rev=16
+rev=17