An R port of http://code.google.com/p/uchardet/ library
library(devtools) install_github('Ruchardet', 'haven-jeon')
library(Ruchardet, quietly = TRUE) nm <- '안녕하세요! 고감자입니다' benc <- detectEncoding(nm) benc nme <- iconv(nm, benc, "CP949") detectEncoding(c(nm, nme)) #detection of unknown file encoding unknown <- file.path(system.file("tests",package="Ruchardet"),"shift_jis.txt") read.table(unknown, fileEncoding=detectFileEncoding(unknown)) #URL encoding detection detectFileEncoding('http://www.ppomppu.co.kr/') detectFileEncoding('http://freesearch.pe.kr')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.