var urltext = unescape(client.responseText);var urltext = decodeURI(client.responseText);exports.run = function(url) { var client = new XMLHttpRequest(); client.open('GET', url, false); client.setRequestHeader('Content-type', 'application/x-www-form-urlencoded; charset=ISO-8859-1'); https://stackoverflow.com/questions/11906904/how-to-force-xmlhttprequest-to-use-iso-8859-1-charset-only alas as visible here szenio.de/Test/ , it does not The server is a commercial provider.nginx -I assume. Jan
It may be at least partially a browser thing, safari doesn't display the characters, Firefox does.
But if it isn't a server thing I am not sure what else to check.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/20de66bc-6129-495f-9fc4-d02a4f23e33d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This at least has an effect...though i doubt it is the right direction...
client.overrideMimeType('text/plain; charset=x-user-defined');But did you try Jed's suggestion:
var urltext = decodeURI(client.responseText);
?
On Wednesday, July 17, 2019 at 4:58:15 PM UTC-7, Jan wrote:
Hi Jed, Hi Mark,
thanks for your help, I tried some things before answering:
stackoverflow says this could help:
exports.run = function(url) { var client = new XMLHttpRequest(); client.open('GET', url, false); client.setRequestHeader('Content-type', 'application/x-www-form-urlencoded; charset=ISO-8859-1'); https://stackoverflow.com/questions/11906904/how-to-force-xmlhttprequest-to-use-iso-8859-1-charset-only alas as visible here szenio.de/Test/ , it does not The server is a commercial provider.nginx -I assume. Jan
Am 17.07.2019 um 18:30 schrieb Jed Carty:
It may be at least partially a browser thing, safari doesn't display the characters, Firefox does.--
But if it isn't a server thing I am not sure what else to check.
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/20de66bc-6129-495f-9fc4-d02a4f23e33d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/bbed96e9-5044-49f9-a93b-d5a492ebb22e%40googlegroups.com.
I could not help you character issue but I am very keen on you import text file.
Could I please ask when you are ready to document it a little more clearly so us English speaking dummies can understand and make use of it.
Thanks in advance
Tony