VS 2017 BOM ISSUES
6 posts
• Page 1 of 1
VS 2017 BOM ISSUES
Using Visual Studio 2017 RC, every time I edit a PHP file, it automatically adds the UTF-8 BOM to the file.
Looks like the PHP settings to "force" BOM removal are not working.
Looks like the PHP settings to "force" BOM removal are not working.
- davidbcn
- Posts: 87
- Joined: September 10th, 2014, 3:07 am
Re: VS 2017 BOM ISSUES
Hello David,
Could you confirm the issue in VS2017 release? I've just tried it with success.
Thanks,
Could you confirm the issue in VS2017 release? I've just tried it with success.
Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: VS 2017 BOM ISSUES
Hello Miloslav,
I have this problem too. I'm using VS 2017 build 26228.9.
What I did:
I have this problem too. I'm using VS 2017 build 26228.9.
What I did:
- Repair VS 2017.
- Reinstall PHP Tools.
- Change the settings.
- WopsS
- Posts: 3
- Joined: March 20th, 2017, 4:41 pm
Re: VS 2017 BOM ISSUES
Hi guys,
We are still unable to replicate. Do you have some other extension which might interfer with this or file encoding was changed after the file was opened e.g. in separete process?
Or do you have .editorconfig file in your project? There is known issue with it https://developercommunity.visualstudio.com/content/problem/22922/editorconfig-support-interprets-charset-utf-8-as-u.html
Thanks!
We are still unable to replicate. Do you have some other extension which might interfer with this or file encoding was changed after the file was opened e.g. in separete process?
Or do you have .editorconfig file in your project? There is known issue with it https://developercommunity.visualstudio.com/content/problem/22922/editorconfig-support-interprets-charset-utf-8-as-u.html
Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: VS 2017 BOM ISSUES
Hello Miloslav,
No, I don't have other extensions nor .editorconfig.
No, I don't have other extensions nor .editorconfig.
- WopsS
- Posts: 3
- Joined: March 20th, 2017, 4:41 pm
Re: VS 2017 BOM ISSUES
I checked my project's files again and I had .editorconfig in it, I remember it was deleted.
- WopsS
- Posts: 3
- Joined: March 20th, 2017, 4:41 pm
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 13 guests