_대문 | 방명록 | 최근글 | 홈피소개 | 주인놈
FrontPage › Encoding

Encoding 문제 #

utf-8, unicode, 한글

Sys.getlocale(category = "LC_ALL")
Sys.setlocale("LC_COLLATE", "C")
Sys.setlocale("LC_COLLATE", "Korean_Korea.949")


iconv('pretty\u003D\u003Ebig', "UTF-8", "CP949")
iconv('pretty\u003D\u003Ebig', "UTF-8", "ASCII")

UTF-8 to Unicode #

library("Unicode")
utf8_to_unicode <- function(utf8_string){
    for(i in 1:length(utf8_string)){
        utf8_string[i] <- paste(as.character(utf8ToInt(utf8_string[i])), collapse=",")
    }
    return (utf8_string)
}

댓글 남기기..
이름: : 오른쪽의 새로고침을 클릭해 주세요. 새로고침
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:53

한가로움이란 아무할 일이 없어졌다는 것이 아니라 다른 새로운 일을 시작할 수있는 기회가 생긴 것이다.