나. 설치 및 설정/Visual Studio

visual studio 파일 열기 오류

LemonDory 2019. 4. 15. 20:10

코드 속에 주석을 한글로 기입했는데 갑자기 아래와 같은 오류가 뜬다면 해결 방법을 찾아보던 중에 설정을 이리저리 바꿔보다가 찾았다. 

some bytes have been replaced with Unicode substitution character while loading file

아래 메뉴에서 Auto-detect UTF-8 encoding without signature를 체크하면 오류가 사라진다

Tool(도구) - Option(옵션) - Text Editor(텍스트 편집기)