Testing encoding size when forced to go through a UTF string