again bugfix charset determination