From 9c2bbe218b32d6ce44be976a7b14eb0908a102e0 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 17 Jan 2013 18:47:53 +0100 Subject: replace char: fix unicode handling --- src/input_handler.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/input_handler.cc') diff --git a/src/input_handler.cc b/src/input_handler.cc index ae14bdc0..dc9392c1 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -61,14 +61,6 @@ private: int m_count = 0; }; -String codepoint_to_str(Codepoint cp) -{ - std::string str; - auto it = back_inserter(str); - utf8::dump(it, cp); - return String(str); -} - class LineEditor { public: -- cgit v1.2.3