Merck / r2rtf

Easily Create Production-Ready Rich Text Format (RTF) Table and Figure
https://merck.github.io/r2rtf
GNU General Public License v3.0
76 stars 19 forks source link

bug fix #193 #194

Closed fb-elong closed 1 year ago

fb-elong commented 1 year ago

Address bug in #193 by converting UTF-8 code >= 128.

x <- data.frame(tmp = r2rtf::utf8Tortf("µ"))

x %>%
  rtf_body() %>%
  rtf_encode() %>% 
  write_rtf("tmp.rtf")