change to splitting directly on string
add an encoding notice for this file, might fix the travis build issue (linux)