Jou Wei Huang
Jou Wei Huang
@donmor the .hta support didn't exactly work as expected. While HTML files with .hta extension is handled, I think the UTF-16 part isn't. Tiddloid would try to load the .hta...
To generate utf-16 encoded version, open a TiddlyWiki.html file in vim, :set fileencoding=utf-16le :wq Or use attached. [TiddlyWiki-v5.2.2-Empty.hta.zip](https://github.com/donmor/Tiddloid/files/8592512/TiddlyWiki-v5.2.2-Empty.hta.zip)
Apologies for the long silence. Just for closure, the HTA changes seem to work with test files but crashed when I loaded my actual work .hta file.  Since...
For what it's worth, I was using TW5 in HTA mode/hack due to a rather locked down corporate environment when I encountered this issue while upgrading to a newer version...
Ok. I'll start a thread on talk.tiddlywiki.org to discuss a bit more. Not sure if I should close or let developer do that?
> Ok. I'll start a thread on talk.tiddlywiki.org to discuss a bit more. Not sure if I should close or let developer do that? https://talk.tiddlywiki.org/t/hta-hack-and-codemirror/7001 in case you are interested.
@shadowforce62 changing `setTimeout(() => cm.display.input.focus(), 20); ` to `setTimeout(function() {cm.display.input.focus();}, 20); ` in the CM plugin "seems" to fix the issue, even in TW v5.2.7.
For info, this workaround also works for other languages/URLs in Viu. Eg. - https://www.viu.com/ott/sg/en/vod/371913/Dragon-Ball-Super fails to download: ```[debug] Command-line config: ['-vU', 'https://www.viu.com/ott/sg/en/vod/371913/Dragon-Ball-Super'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252,...