urlinfo: Fix charset parsing