일본어 OS에서 포스트 그레스에 대한 배치 파일을 만들는 SQL (<code>update.sql</code>가) 파일 I 배치 파일 (<code>01_update.bat</code>)와이
01_update.bat
echo.
pause
"C:\Program Files\PostgreSQL\9.5\bin\psql.exe" -U postgres -d javasamplepj_core -f .\update.sql
pause
DELETE FROM "CORE_LANGUAGE_PROPERTY" WHERE "KEY" = 'error_incompletedate';
update.sql
==>하지만 배치 파일을 실행하면이 오류가 발생합니다 :
psql: ./ update.sql: 1: ERROR: the 0xef 0xbb byte sequence in the coding scheme "SJIS" Character is not equal in the "UTF8" encoding scheme with
[BOM] (https://en.wikipedia.org/wiki/Byte_order_mark)을 사용하여 SQL 파일을 저장 했습니까? 나는 psql이 그것을 지원하지 않는다고 생각한다. –