commit | d2c0f73e21c69c84a02de780cbdb5515e03baf1d | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu@hsl.harvard.edu> | Sat Aug 26 10:40:14 2017 -0400 |
committer | Hao Zhu <haozhu@hsl.harvard.edu> | Sat Aug 26 10:40:14 2017 -0400 |
tree | 934a8fb3d3dd4ef60a433f6c5668cffa9d0e61c8 | |
parent | f451dbb62cf72e16050fe39ea5ae99b3fd53a617 [diff] [blame] |
add enc2utf8 to solve unicode issue
diff --git a/R/kable_styling.R b/R/kable_styling.R index 2a3248d..a33f820 100644 --- a/R/kable_styling.R +++ b/R/kable_styling.R
@@ -187,7 +187,7 @@ repeat_header_method <- match.arg(repeat_header_method) out <- NULL - out <- as.character(kable_input) + out <- enc2utf8(as.character(kable_input)) table_info <- magic_mirror(kable_input) if ("striped" %in% latex_options) {