Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

files with UTF-8 BOM #260

Closed
wizzard0 opened this issue Oct 15, 2016 · 4 comments
Closed

files with UTF-8 BOM #260

wizzard0 opened this issue Oct 15, 2016 · 4 comments

Comments

@wizzard0
Copy link

tsc eats them fine, ALM goes crazy (editing creates garbage in the file)

@basarat
Copy link
Member

basarat commented Oct 15, 2016

ALM goes crazy (editing creates garbage in the file)

Only if you edit the top of the file as far as I am aware. See this comment for details : #227 (comment)

^ Is this correct or did editing some middle portion of the file break it ?

@wizzard0
Copy link
Author

Editing middle of the file also wreaks havoc. Note, the file has actual Unicode characters in it.

@basarat
Copy link
Member

basarat commented Oct 15, 2016

Can you share a file. Zip it and you should be able to add the .zip to a comment 🌹

@hoegge
Copy link

hoegge commented Jul 28, 2017

Attached example files that shows the rename shifting issue. It also affects the color coding. The first 3 bytes for the file is shown at the beginning and then disappears now and then after some editing and then the issue is gone
__test editor.zip

@basarat basarat closed this as completed Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants