improve encoding for LaTeX table. #138
diff --git a/R/add_footnote.R b/R/add_footnote.R
index feb1269..dd78ef5 100644
--- a/R/add_footnote.R
+++ b/R/add_footnote.R
@@ -101,7 +101,7 @@
     }
     label <- gsub("\\\\", "\\\\\\\\", label)
 
-    export <- enc2utf8(export)
+    export <- solve_enc(export)
     table_info <- magic_mirror(input)
     if (table_info$tabular == "longtable") {
       if (notation != "number") {