Bug fixes for Swedish characters