projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NPar two samples dialog and T-Test paired dialogs: Converted to PsppireDialogAction
[pspp]
/
src
/
libpspp
/
encoding-guesser.h
diff --git
a/src/libpspp/encoding-guesser.h
b/src/libpspp/encoding-guesser.h
index 2e8cb9abbb0738b9240f8635d9a21bbbba126704..1cb1a3ca4093a3ad111dc3bd77daf54711e2a1d7 100644
(file)
--- a/
src/libpspp/encoding-guesser.h
+++ b/
src/libpspp/encoding-guesser.h
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2011, 2012 Free Software Foundation, Inc.
+ Copyright (C) 2011, 2012
, 2013
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-109,6
+109,8
@@
bool encoding_guess_encoding_is_auto (const char *encoding);
/* Making an initial coding guess based on the start of a file. */
const char *encoding_guess_head_encoding (const char *encoding,
const void *, size_t);
/* Making an initial coding guess based on the start of a file. */
const char *encoding_guess_head_encoding (const char *encoding,
const void *, size_t);
+size_t encoding_guess_bom_length (const char *encoding,
+ const void *, size_t n);
/* Refining an initial ASCII coding guess using later non-ASCII bytes. */
static inline bool encoding_guess_is_ascii_text (uint8_t c);
/* Refining an initial ASCII coding guess using later non-ASCII bytes. */
static inline bool encoding_guess_is_ascii_text (uint8_t c);