You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have yet another issue. I am using Umlauts (ä, ö, ü) which works in the experiment when I am adding <meta charset="utf-8" />
to the head of the page. Unfortunately, when saving the data to a csv-file the UTF-8 charset is not being used.
I tried adding the UTF-charset in the saveData function, but no luck so far. function saveData(name, data){ var xhr = new XMLHttpRequest(); xhr.open('POST', 'save-data6.php'); xhr.setRequestHeader('Content-Type', 'application/json; charset=utf-8'); xhr.send(JSON.stringify({filename: name, filedata: data})); }
Anyone has an idea what to do? Thanks!
This discussion was converted from issue #1292 on January 19, 2021 17:14.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have yet another issue. I am using Umlauts (ä, ö, ü) which works in the experiment when I am adding
<meta charset="utf-8" />
to the head of the page. Unfortunately, when saving the data to a csv-file the UTF-8 charset is not being used.
I tried adding the UTF-charset in the saveData function, but no luck so far.
function saveData(name, data){ var xhr = new XMLHttpRequest(); xhr.open('POST', 'save-data6.php'); xhr.setRequestHeader('Content-Type', 'application/json; charset=utf-8'); xhr.send(JSON.stringify({filename: name, filedata: data})); }
Anyone has an idea what to do? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions