bugfix determine charset from url connection