encoding problem workaround

This commit is contained in:
cesare 2024-05-30 13:21:40 +02:00
parent 9da5a7e7ac
commit 462ca54d80
1 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<meta charset="utf-8"></meta>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.6.1/css/bootstrap4-toggle.min.css"/> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.6.1/css/bootstrap4-toggle.min.css"/>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css"/> <link rel="stylesheet" href="https://code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css"/>
<link rel="stylesheet" id="style2-Boot" href="../css/bootstrap.min.lida2.css"/> <link rel="stylesheet" id="style2-Boot" href="../css/bootstrap.min.lida2.css"/>
@ -21,6 +22,7 @@
display: none !important; display: none !important;
} }
</style> </style>
<title>LiDa SPARQL Editor</title>
</head> </head>
<body class="body-vis"> <body class="body-vis">
@ -69,17 +71,25 @@
const yasgui = new Yasgui( const yasgui = new Yasgui(
document.getElementById("yasgui"), document.getElementById("yasgui"),
{ {
//yasr :{maxPersistentResponseSize: 100},
yasqe : { yasqe : {
value: defaultEditorQuery value: defaultEditorQuery
}, },
requestConfig : { requestConfig : {
endpoint : "https://hdnlab1.isti.cnr.it/fuseki/commedia/query" endpoint : "https://lida.dantenetwork.it/fuseki/itserr/query"
}, },
copyEndpointOnNewTab : false, copyEndpointOnNewTab : false,
resizeable : true,
}); });
const yasqe= yasgui.getTab().yasqe
const yasr= yasgui.getTab().yasr
//yasqe.setValue(defaultEditorQuery)
/* console.log(yasgui.config);
console.log(yasqe);
console.log(yasr); */
console.log(yasgui);
</script> </script>
</div> </div>