improve encoding for LaTeX table. #138
diff --git a/R/group_rows.R b/R/group_rows.R
index f93a4d7..a6f74d0 100644
--- a/R/group_rows.R
+++ b/R/group_rows.R
@@ -145,7 +145,7 @@
                              bold = T, italic = F, hline_before = F ,hline_after = F,
                              extra_latex_after = NULL) {
   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)