README.ru.rtf2html has the wrong encoding

• Jun 15, 2015 - 14:10

Errors

mscore.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/mscore/README.ru.rtf2html
mscore.x86_64: W: file-not-utf8 /usr/share/doc/mscore/README.ru.rtf2html

Solutions

https://fedoraproject.org/wiki/Common_Rpmlint_issues#wrong-file-end-of-…

basically you run a perl or sed command

perl -i -pe 's/\r\n/\n/gs'
sed -i 's/\r$//'

For the not-utf8 you would run https://fedoraproject.org/wiki/Common_Rpmlint_issues#file-not-utf8

HOWEVER, I am not sure if that is appropriate for this file or not as it is Russian ;p

Do you still have an unanswered question? Please log in first to post your question.