-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, May 11, 2016 at 12:34:29PM +0200, Rob van der Putten wrote: > Hi there > > > to...@tuxteam.de wrote:
[BOM BOM hurrah!] > I actually thought about this. But it just seems crude; > > vim some.txt > ^vufeff<Enter> > <Esc>:wq<Enter> > > It does work though. > But I want UTF-8 without a BOM. It is, after all, the default locale. Everyone wants that... except Microsoft, it seems. > Is Firefox really this braindead? Sometimes I fear that too. > Note: If you edit this again, vim doesn't show the BOM any more. > It's there though. That's because it has been enshrined by the Unicode Consortium. I think I know who pushed that (Apple might have helped, though). So Vim's correct in tolerating that on input. Perhaps you can help yourself by even uglier tricks (like with an http-equiv header in your HTML). But best would be if you could exorcise this abject behaviour from Firefox. Let us know... regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlczC/wACgkQBcgs9XrR2kZVDwCfYu0BnNtQIxXoh39Jq4UCWQl/ nyEAnifLHZX0KAUL75j1RFApbp/DOqry =JOlh -----END PGP SIGNATURE-----