R package using universal charset detection library. http://code.google.com/p/uchardet/