cipher: changed logic for Swedish characters åäö