FG
💻 Software

Remove Byte Order Mark (BOM)

Fresh7 days ago
Mar 15, 20261974 views
Confidence Score0%
0%

Problem

Background Run SQL files using that were edited with gVim on Windows. Problem The BOM character causes syntax errors with . I would like to edit files using gVim and, when saved, no longer have a BOM character. If the file has the BOM character, then saving it keeps the BOM character, which is not …

Error Output

set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
au BufReadPre set nobomb
au BufReadPre setlocal nobom…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Remove Byte Order Mark (BOM)

Low Risk

Try this:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment