turn characters into character vectors