VS2015 UTF8 file open problems
Posted: May 19th, 2017, 8:01 am
Hi,
I have been experiencing some problems lately and I can not pinpoint where the problem is.
I have PHP files which include some UTF8 characters and are all saved without BOM.
When opening such files they are opened in Win1250 codepage and after saving the UTF8 chars are then broken, this didn't occur before.
I guess the automagic detecting doesn't work because the count of the UTF8 chars is small - i.e. usually only a couple, maybe even only one per file that is couple of kB in size.
Any suggestions on how to fix this are welcome.
Kind regards,
Uros
I have been experiencing some problems lately and I can not pinpoint where the problem is.
I have PHP files which include some UTF8 characters and are all saved without BOM.
When opening such files they are opened in Win1250 codepage and after saving the UTF8 chars are then broken, this didn't occur before.
I guess the automagic detecting doesn't work because the count of the UTF8 chars is small - i.e. usually only a couple, maybe even only one per file that is couple of kB in size.
Any suggestions on how to fix this are welcome.
Kind regards,
Uros