summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-02 17:08:11 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-02 17:08:11 +0100
commitc24798d1ab4bb75c8ee0c8b8663b11e599df1c25 (patch)
treee7bf4102100af9685aa28f79ae5581e38296c18c /src/util.h
parent7910e19cf145cbdc99fbf1015add6f8eb792e160 (diff)
Remove unicode BOM from SSA files.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index 9d3edc2..dea8023 100644
--- a/src/util.h
+++ b/src/util.h
@@ -23,9 +23,8 @@
namespace sub {
extern bool empty_or_white_space (std::string s);
+extern void remove_unicode_bom (boost::optional<std::string>& line);
extern boost::optional<std::string> get_line_stringstream (std::stringstream* str);
extern boost::optional<std::string> get_line_file (FILE* f);
}
-
-