v1.25.10441 - exception on project load and UTF8 load prob.
9 posts
• Page 1 of 1
v1.25.10441 - exception on project load and UTF8 load prob.
Hi,
after upgrading to the latest version an exception occurs while loading project.
Please see activity log attached, also I have attached a file that is not correctly detected as UTF8.
Re, Uros
after upgrading to the latest version an exception occurs while loading project.
Please see activity log attached, also I have attached a file that is not correctly detected as UTF8.
Re, Uros
You do not have the required permissions to view the files attached to this post.
- urosg
- Posts: 51
- Joined: February 24th, 2016, 2:05 am
Re: v1.25.10441 - exception on project load and UTF8 load pr
Hi,
Thank you for the email. The exception you are mentioning will be fixed in today's update.
Please try the process explained in this post http://support.devsense.com/viewtopic.php?f=21&t=1620&p=7423&hilit=utf8#p7423 and let us know if that helped.
Thanks,
Thank you for the email. The exception you are mentioning will be fixed in today's update.
Please try the process explained in this post http://support.devsense.com/viewtopic.php?f=21&t=1620&p=7423&hilit=utf8#p7423 and let us know if that helped.
Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: v1.25.10441 - exception on project load and UTF8 load pr
Hi,
the latest update seems to have fixed the exception occurring before, but the UTF8 detection still doesn't work, I checked all the options.
I tried this in VS2015 and VS2017 and in both cases the same deal.
I seem to remember that this worked a not so long ago, maybe a VS update had an impact on this I don't know.
The "auto-detect" option is maybe not working as these files contain small amounts of UTF8 chars and are most US ANS as in Slovenian language there are only five three special chars that go into UTF8 range.
the latest update seems to have fixed the exception occurring before, but the UTF8 detection still doesn't work, I checked all the options.
I tried this in VS2015 and VS2017 and in both cases the same deal.
I seem to remember that this worked a not so long ago, maybe a VS update had an impact on this I don't know.
The "auto-detect" option is maybe not working as these files contain small amounts of UTF8 chars and are most US ANS as in Slovenian language there are only five three special chars that go into UTF8 range.
- urosg
- Posts: 51
- Joined: February 24th, 2016, 2:05 am
Re: v1.25.10441 - exception on project load and UTF8 load pr
One more question, does PHP Tools work with "Fix File Encoding" add-on?
Just as a side note, I just tried right clicking on the file in project and selected "Open with" and for editor I selected "Source Code (Text) editor" and it opened the file OK while the default for .php files is "PHP Editor".
Just as a side note, I just tried right clicking on the file in project and selected "Open with" and for editor I selected "Source Code (Text) editor" and it opened the file OK while the default for .php files is "PHP Editor".
- urosg
- Posts: 51
- Joined: February 24th, 2016, 2:05 am
Re: v1.25.10441 - exception on project load and UTF8 load pr
Any news regarding the UTF8 problems?
- urosg
- Posts: 51
- Joined: February 24th, 2016, 2:05 am
Re: v1.25.10441 - exception on project load and UTF8 load pr
Hello,
The issue here is Visual Studio HTML editor which we use in PHP Editor. They are somehow screwing the encoding, maybe they expect html tag that specifies encoding in the document.
Anyway if you'd turn off Visual Studio HTML editor it would work as expected (Tools | Options | PHP tools | Enable HTML Editor in PHP files = false )
We are going to examine how to workaround this HTML editor "feature".
Thank you for patience,
The issue here is Visual Studio HTML editor which we use in PHP Editor. They are somehow screwing the encoding, maybe they expect html tag that specifies encoding in the document.
Anyway if you'd turn off Visual Studio HTML editor it would work as expected (Tools | Options | PHP tools | Enable HTML Editor in PHP files = false )
We are going to examine how to workaround this HTML editor "feature".
Thank you for patience,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: v1.25.10441 - exception on project load and UTF8 load pr
One more question, does PHP Tools work with "Fix File Encoding" add-on?
I guess it will work, but we do the same thing so it shouldn't be needed
Thanks,
I guess it will work, but we do the same thing so it shouldn't be needed
Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: v1.25.10441 - exception on project load and UTF8 load pr
Turning HTML Editor off, does help with the encoding thing, but then the HTML intellisense is not working - probably as expected - which is somewhat problematic - at least for me - as I mostly develop Yii2 projects with which I don't use an external template engine, just plain php.
Hope you will find the solution soon.
Thanks!!!
Hope you will find the solution soon.
Thanks!!!
- urosg
- Posts: 51
- Joined: February 24th, 2016, 2:05 am
Re: v1.25.10441 - exception on project load and UTF8 load pr
We've found out that this is a bug in Visual Studio HTML editor. Which happens when you have meta character html tag, we will try to workaround this in some future update.
Thanks again for feedback!
Thanks again for feedback!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 49 guests