split utf-8 parsing routines into it's own file