improve encoding for LaTeX table. #138
diff --git a/R/add_indent.R b/R/add_indent.R
index ff54ea1..de6fc32 100644
--- a/R/add_indent.R
+++ b/R/add_indent.R
@@ -31,7 +31,7 @@
 # Add indentation for LaTeX
 add_indent_latex <- function(kable_input, positions) {
   table_info <- magic_mirror(kable_input)
-  out <- enc2utf8(as.character(kable_input))
+  out <- solve_enc(kable_input)
 
   if (table_info$duplicated_rows) {
     dup_fx_out <- fix_duplicated_rows_latex(out, table_info)