diff --git a/DESCRIPTION b/DESCRIPTION index 05b38d1..49fb811 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: striprtf Type: Package Title: Extract Text from RTF File -Version: 0.5.0 +Version: 0.5.1 Authors@R: c( person("Kota", "Mori", email = "kmori05@gmail.com", role = c("aut", "cre")) ) diff --git a/R/striprtf.R b/R/striprtf.R index ba775da..bffe238 100644 --- a/R/striprtf.R +++ b/R/striprtf.R @@ -16,7 +16,7 @@ #' \itemize{ #' \item{Python 3 implementation by Gilson Filho: \url{https://gist.github.com/gilsondev/7c1d2d753ddb522e7bc22511cfb08676}} #' \item{Original discussion thread: \url{http://stackoverflow.com/a/188877}} -#' \item{Code page table: \url{http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/}} +#' \item{Code page table: \url{http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/}} #' } #' @details Rich text format (RTF) files are written as a text file #' consisting of ASCII characters. The specification has been developed by @@ -35,8 +35,8 @@ #' by Japanese version of Microsoft Word marks \code{\\ansicpg932}, which indicates #' the code page 932 is used for letter-code conversion. #' The function detects the code page indication and -#' convert them to UTF-8 as possible. Conversion table is retrieved from -#' here: (\url{http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/}). +#' convert the characters to UTF-8 where possible. Conversion tables are retrieved from +#' here: (\url{http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/}). #' read_rtf <- function(file, verbose = FALSE, row_start = "*| ", row_end = "", cell_end = " | ", ignore_tables=FALSE, diff --git a/man/read_rtf.Rd b/man/read_rtf.Rd index ea18566..d76b39c 100644 --- a/man/read_rtf.Rd +++ b/man/read_rtf.Rd @@ -52,8 +52,8 @@ accomodates with various ANSI code pages. For example, RTF files created by Japanese version of Microsoft Word marks \code{\\ansicpg932}, which indicates the code page 932 is used for letter-code conversion. The function detects the code page indication and -convert them to UTF-8 as possible. Conversion table is retrieved from -here: (\url{http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/}). +convert the characters to UTF-8 where possible. Conversion tables are retrieved from +here: (\url{http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/}). } \examples{ read_rtf(system.file("extdata/king.rtf", package = "striprtf")) @@ -62,6 +62,6 @@ read_rtf(system.file("extdata/king.rtf", package = "striprtf")) \itemize{ \item{Python 3 implementation by Gilson Filho: \url{https://gist.github.com/gilsondev/7c1d2d753ddb522e7bc22511cfb08676}} \item{Original discussion thread: \url{http://stackoverflow.com/a/188877}} - \item{Code page table: \url{http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/}} + \item{Code page table: \url{http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/}} } }