Use encoding for ALL THE THINGS in lib