The Atom editor has just broken my skin after I was trying to use it with new rainmeter syntax highlighter.
(Moreover I lost half of the code when tried to cut and paste that half of my code. After I cut the part of my code it went to warp and never showed up. It can't undo as well. )
Now I want to revert my code to normal view but I can't figure it out how I am supposed to do it. I am trying to copy intent part of code from the atom window (left window on the screenshot) but it does not copy it. Only first character of what I'm copying is appearing. I need wise help.
It is currently March 28th, 2024, 10:27 pm
[Resolved] Atom has broken my skin
-
- Moderator
- Posts: 1251
- Joined: February 16th, 2012, 3:32 am
- Location: Berlin, Germany
[Resolved] Atom has broken my skin
You do not have the required permissions to view the files attached to this post.
-
- Moderator
- Posts: 1251
- Joined: February 16th, 2012, 3:32 am
- Location: Berlin, Germany
Re: Atom has broken my skin
What the hell
You do not have the required permissions to view the files attached to this post.
-
- Moderator
- Posts: 1251
- Joined: February 16th, 2012, 3:32 am
- Location: Berlin, Germany
Re: Atom has broken my skin
Atom is doing something weird. Where is my code now?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 366
- Joined: November 12th, 2009, 4:47 pm
- Location: Ukraine
Re: Atom has broken my skin
hmm...
did you try to change encodings to auto detect?
i see in Atom it UTF-8 which is not good
i think what happened is that you have your ini saved in UCS-2 little endian in Notepad++ or else and after opened in Atom it sets file encoding to UTF-8 automatically which may result this as on last screenshot, set it to auto detect or choose proper encodings..
did you try to change encodings to auto detect?
i see in Atom it UTF-8 which is not good
i think what happened is that you have your ini saved in UCS-2 little endian in Notepad++ or else and after opened in Atom it sets file encoding to UTF-8 automatically which may result this as on last screenshot, set it to auto detect or choose proper encodings..
Last edited by ~Faradey~ on March 1st, 2016, 12:05 pm, edited 2 times in total.
-
- Moderator
- Posts: 1251
- Joined: February 16th, 2012, 3:32 am
- Location: Berlin, Germany
Re: Atom has broken my skin
Luckily I have saved the piece of code from the second post (the code with spaces) and replaced all the spaces with empty strings. I just left with adding spaces back to bangs and some other places. I am browsing now my old backups of this skin in order to get back the lost part of my code.
Be careful with new environments.
Be careful with new environments.
-
- Moderator
- Posts: 1251
- Joined: February 16th, 2012, 3:32 am
- Location: Berlin, Germany
Re: Atom has broken my skin
For this particular file I had UCS-2 LE BOM.~Faradey~ wrote:hmm...
did you try to change encodings to auto detect?
i see in Atom it UTF-8 which is not good
-
- Posts: 366
- Joined: November 12th, 2009, 4:47 pm
- Location: Ukraine
Re: Atom has broken my skin
i have tested it right now
i have ini in UCS-2 LE opened in Netepad++
after opening same ini in Atom i have this
bunch of spaces as u have
after saving ini from Notepad++ in UTF-8 --> Atom froze and not responding
after setting it back to UCS-2 in Atom results this
soo i think it's obvious that problem in encodings ))
AND Unix???
i have ini in UCS-2 LE opened in Netepad++
after opening same ini in Atom i have this
bunch of spaces as u have
after saving ini from Notepad++ in UTF-8 --> Atom froze and not responding
after setting it back to UCS-2 in Atom results this
soo i think it's obvious that problem in encodings ))
AND Unix???
-
- Moderator
- Posts: 1251
- Joined: February 16th, 2012, 3:32 am
- Location: Berlin, Germany
Re: Atom has broken my skin
At least developers could tell us about encoding problems beforehand during installation or welcome screen.~Faradey~ wrote:i have tested it right now
i have ini in UCS-2 LE opened in Netepad++
after opening same ini in Atom i have this
bunch of spaces as u have
after saving ini from Notepad++ in UTF-8 --> Atom froze and not responding
after setting it back to UCS-2 in Atom results this
soo i think it's obvious that problem in encodings ))
AND Unix???
Anyways, I have successfully restored my skin. I wish developers will fix this issue so nobody in the future will experience such problems.
-
- Posts: 366
- Joined: November 12th, 2009, 4:47 pm
- Location: Ukraine
Re: Atom has broken my skin
i didn't mean that problem in Atom, it just that Atom opens and view file in UTF-8 first, without detecting which encodings file has, you need to keep that in mind and select proper encodings. Mb it has setting somewhere to change it to auto detect i don't know, i have installed Atom just today
-
- Moderator
- Posts: 1251
- Joined: February 16th, 2012, 3:32 am
- Location: Berlin, Germany
Re: Atom has broken my skin
UCS-2 LE BOM is proper encoding. How could I keep that in mind if I didn't know about this issue, haha~Faradey~ wrote:i didn't mean that problem in Atom, it just that Atom opens and view file in UTF-8 first, without detecting which encodings file has, you need to keep that in mind and select proper encodings. Mb it has setting somewhere to change it to auto detect i don't know, i have installed Atom just today