You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When exporting recipes, converting the filename QString to ISO-8859-1 seems to break the string, in my environment at least.
"toAscii" of QString was deprecated in QT5, and it is recommended to be replaced with "toLatin1", which was done in commit 6f6315d. In my environment, toLatin1() produces this string:
´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢i s0@´┐¢T∟´┐¢´┐¢
I propose to not convert the QString to anything, since setFileName of QFile takes a QString.
When exporting recipes, converting the filename QString to ISO-8859-1 seems to break the string, in my environment at least.
"toAscii" of QString was deprecated in QT5, and it is recommended to be replaced with "toLatin1", which was done in commit 6f6315d. In my environment, toLatin1() produces this string:
´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢i s0@´┐¢T∟´┐¢´┐¢
I propose to not convert the QString to anything, since setFileName of QFile takes a QString.
Pull request: #40
The text was updated successfully, but these errors were encountered: