improve encoding for LaTeX table. #138
diff --git a/R/util.R b/R/util.R
index 45f1df1..6d89d1f 100644
--- a/R/util.R
+++ b/R/util.R
@@ -133,5 +133,8 @@
   return(list(kable_input, table_info))
 }
 
-
+# Solve enc issue for LaTeX tables
+solve_enc <- function(x) {
+  enc2utf8(as.character(base::format(x, trim = TRUE, justify = 'none')))
+}