Attempt to solve encoding problem