- use partition() instead of strip() to find individual encoding settings