bfgxp Posted July 18, 2016 Posted July 18, 2016 This problem also exists in the code editor. Before Tidy after Tidy
TheDcoder Posted July 18, 2016 Posted July 18, 2016 Encoding problems... EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
ISI360 Posted July 18, 2016 Author Posted July 18, 2016 Hmm strange. In my setup it works fine: Do you have UTF-8 mode enabled in the ISN? (It´s under program settings -> script editor -> code page UTF 8) PS: The error with the incompleted code in the formstudio is a litte bug. I will fix it in the next update. (But the code in the isf is fine. Only the display is wrong)
bfgxp Posted July 18, 2016 Posted July 18, 2016 Indeed very strange, I confirmed that the ISN enabled in the UTF8
ISI360 Posted July 19, 2016 Author Posted July 19, 2016 When you create a new au3 file with the ISN...please check via Notepad++ wich Encoding the file has. It should be UTF-8. And in UTF-8 the chars should be saved in the right way.
bfgxp Posted July 19, 2016 Posted July 19, 2016 (edited) Is garbled after running TIDY Suspicion has a relationship with TIDY Is TIDY to support the Chinese system is not good. But I run TIDY manually sorting.Au3 file is not garbled Edited July 19, 2016 by bfgxp
TheDcoder Posted July 19, 2016 Posted July 19, 2016 I think Tidy is messing up the encoding... EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
argumentum Posted July 21, 2016 Posted July 21, 2016 (edited) On 7/17/2016 at 8:42 PM, bfgxp said: This problem also exists in the code editor. Before Tidy after Tidy would you mind a ZIP file with the file ? I'd like to look at it. But I'd need the original file. Also what OS and language. Edited July 21, 2016 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
bfgxp Posted July 22, 2016 Posted July 22, 2016 4 hours ago, argumentum said: would you mind a ZIP file with the file ? I'd like to look at it. But I'd need the original file. Also what OS and language. of course,temp86.zip OS and language:Win10x86/x64,Simplified Chinese OR Win7x86/x64,Simplified Chinese PS:XP OS Not tested
argumentum Posted July 22, 2016 Posted July 22, 2016 (edited) 1 hour ago, bfgxp said: of course,temp86.zip, OS and language:Win10x86/x64,Simplified Chinese OR Win7x86/x64,Simplified Chinese, PS:XP OS Not tested you know that the 2nd MsgBox shows MsgBox(1,"Hi","�?) , is that the file before Tidy ? Edit: In any case, I corrected it as shown in your before pic, and tidy it, as show in the next pics: and even tho I don't use ISN, I can attest, that Tidy is not at fault. Edited July 22, 2016 by argumentum more testing Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
ISI360 Posted July 22, 2016 Author Posted July 22, 2016 I also tested your example...no problem here. (Exept the 2nd MsgBox, as argumentum said..) Also no problems with Tidy. Strange.... argumentum 1
bfgxp Posted July 22, 2016 Posted July 22, 2016 13 hours ago, argumentum said: you know that the 2nd MsgBox shows MsgBox(1,"Hi","�?) , is that the file before Tidy ? Edit: In any case, I corrected it as shown in your before pic, and tidy it, as show in the next pics: and even tho I don't use ISN, I can attest, that Tidy is not at fault. Yes,don't use ISN, Tidy is not at fault. So, I still think the problem is ISN.
bfgxp Posted July 22, 2016 Posted July 22, 2016 9 hours ago, ISI360 said: I also tested your example...no problem here. (Exept the 2nd MsgBox, as argumentum said..) Also no problems with Tidy. Strange.... As long as the number of characters is odd, there is such a problem. Before Tidy after Tidy FormStudio2 Generated code(Code in the IFS file is correct.)
Developers Jos Posted July 22, 2016 Developers Posted July 22, 2016 On 7/19/2016 at 2:03 PM, TheDcoder said: I think Tidy is messing up the encoding... Maybe you need to stop thinking Ensure your code syntax is valid and there is little chance tidy will mess it up. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
TheDcoder Posted July 22, 2016 Posted July 22, 2016 @Jos Actually, I don't use Tidy at all! I was just guessing, as it happened to one of my scripts, the encoding was not correct when converted to binary . EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
Developers Jos Posted July 22, 2016 Developers Posted July 22, 2016 Anything defined as a literal string should be ignored by Tidy, so show me some valid AutoIt3 syntax that gets corrupted. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
TheDcoder Posted July 22, 2016 Posted July 22, 2016 Just now, Jos said: Anything defined as a literal string should be ignored by Tidy, so show me some valid AutoIt3 syntax that gets corrupted. I was talking about the output made by my software btw . Nothing related to syntax or script is change during runtime . EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
shaqan Posted September 27, 2016 Posted September 27, 2016 upon trying to create new empty GUI (inside the ISN Studio), getting 2 different errors.. "The plugin could not be started properly! It will close now..." "Dieses program ist Teil des ISN AutoIt Studios und kann nicht allein gestartet werden!" (This program is part of AutoIt Studio and cannot be started separately") Any solution?
ISI360 Posted September 27, 2016 Author Posted September 27, 2016 Try to temporary disable your anti virus. Maybe it "sandboxes" the formstudio. So it can´t start property.
shaqan Posted September 27, 2016 Posted September 27, 2016 I removed antivirus completely. Still issue persisting. On the other hand, installed ISN Studio using same installer into another computer (also win7) and had not such problem there, so it's something to do with the setup of this specific computer., I even tried running ISN AutoIT Studio giving it administrative privileges, did not help.
Recommended Posts