Removing line breaks from string encoding.