4 #include "boost/locale/conversion.hpp" 5 #include "interpolate.h" 9 boost::locale::norm_type type;
10 word_data_t operator()(
Word word, channelID ch) {
11 log_debug(
"normalizing ", kblib::quoted(word.data.at(ch)));
12 if (
auto it = word.data.find(ch); it != word.data.end()) {
13 it->second = boost::locale::normalize(it->second, type);
15 log_debug(
"to ", kblib::quoted(word.data.at(ch)));
16 return std::move(word.data);
Definition: interpolate.h:139