프리 파스칼을 숭고한 텍스트 3으로 만들고 싶습니다. 나는 항상 인코딩 오류가 발생합니다 (아래 참조). 또한 인코딩으로 파일을 저장하려고했습니다.Build Pascal with Sublime Text 3
{
"cmd":["fpc $file & ${file_path}/${file_base_name}.exe"],
"shell" : true,
}
내 테스트 프로그램은 간단한 인사 세계입니다 :
Program HelloWorld;
begin
writeln("Hello, world!");
readln;
end.
내 오류 코드 :
[Decode error - output not utf-8]
[Finished in 0.0s with exit code 1]
[cmd: ['fpc C:\\Users\\korndi\\Documents\\FREI\\hellop.p & C:\\Users\\korndi\\Documents\\FREI/hellop.exe']]
[dir: C:\Users\korndi\Documents\FREI]
[path: C:\Python33\;;C:\FPC\2.6.2\bin\i386-Win32]
1을 컴파일합니다. 어쩌면 승화는 -A 함수가 FPC에 의한 출력을 위해 사용된다는 것을 감지 할 수 있으며, 따라서 출력은 ascii라고 가정합니다. 그러나 Windows의 콘솔에서 utf-8을 출력하는 것이 정상적인 것은 아닙니다. 아마도 그걸 어떻게 든 숭고하게 비틀어 야 할 것입니다. 일반적으로 : 나사로를 사용하십시오 :-) –