summaryrefslogtreecommitdiff
path: root/src/utils/encoding.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/encoding.hpp')
-rw-r--r--src/utils/encoding.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/encoding.hpp b/src/utils/encoding.hpp
index 586edd8..b707a0c 100644
--- a/src/utils/encoding.hpp
+++ b/src/utils/encoding.hpp
@@ -28,7 +28,7 @@ namespace utils
* Convert the given string (encoded is "encoding") into valid utf-8.
* If some decoding fails, insert an utf-8 placeholder character instead.
*/
- std::string convert_to_utf8(const std::string& str, const char* encoding);
+ std::string convert_to_utf8(const std::string& str, const char* charset);
}
namespace xep0106