You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PlatformIO Core.
If you’ve found a bug, please provide an information below.
Configuration
Operating system: Windows 10 x64
PlatformIO Version (platformio --version): 4.0.3
Description of problem
When generating project files for Visual Studio, PIO adds 6 bytes C3 AF C2 BB C2 BF at the beginning of platformio.vcxproj and platformio.vcxproj.filters files. These 6 bytes, if decoded as UTF-8, become characters , which look exactly like UTF-8 Byte Order Mark decoded using CP1252.
Trying to open the project file in Visual Studio 2019 as is gives the following error:
Removing these 6 bytes or replacing them with EF BB BF, a correct value for UTF-8 BOM, fixes it.
What kind of issue is this?
If you’ve found a bug, please provide an information below.
Configuration
Operating system: Windows 10 x64
PlatformIO Version (
platformio --version
): 4.0.3Description of problem
When generating project files for Visual Studio, PIO adds 6 bytes
C3 AF C2 BB C2 BF
at the beginning ofplatformio.vcxproj
andplatformio.vcxproj.filters
files. These 6 bytes, if decoded as UTF-8, become characters
, which look exactly like UTF-8 Byte Order Mark decoded using CP1252.Trying to open the project file in Visual Studio 2019 as is gives the following error:
Removing these 6 bytes or replacing them with
EF BB BF
, a correct value for UTF-8 BOM, fixes it.Steps to Reproduce
mkdir test
cd test
platformio init --ide visualstudio -b uno
Actual Results
platformio.vcxproj (as UTF-8)
Expected Results
platformio.vcxproj (as UTF-8)
Additional info
Python 3.7.3
Visual Studio Community 16.3.6
The text was updated successfully, but these errors were encountered: