diff options
author | drh <> | 2024-09-28 19:52:38 +0000 |
---|---|---|
committer | drh <> | 2024-09-28 19:52:38 +0000 |
commit | 54fd01c4ab06c511c55235de039a7955117fddf0 (patch) | |
tree | 3484613406bbed35d58f89a6a9c35d25e8d54033 /src | |
parent | 33669ef289bfc69aac80b3fc58edbd62006de41f (diff) | |
download | sqlite-54fd01c4ab06c511c55235de039a7955117fddf0.tar.gz sqlite-54fd01c4ab06c511c55235de039a7955117fddf0.zip |
Fix the CLI so that the --bom option only outputs a single BOM, not two.
FossilOrigin-Name: 76b6331e6a705a420a64820a18214f07cf4c1d5151e7158d6fff09964e63f352
Diffstat (limited to 'src')
-rw-r--r-- | src/shell.c.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c.in b/src/shell.c.in index 56f63fb19..d1fc6aa74 100644 --- a/src/shell.c.in +++ b/src/shell.c.in @@ -9913,7 +9913,7 @@ static int do_meta_command(char *zLine, ShellState *p){ int eMode = 0; int bOnce = 0; /* 0: .output, 1: .once, 2: .excel/.www */ int bPlain = 0; /* --plain option */ - static const char *zBomUtf8 = "\xef\xbb\xbf"; + static const char *zBomUtf8 = "\357\273\277"; const char *zBom = 0; failIfSafeMode(p, "cannot run .%s in safe mode", azArg[0]); |