rbutil: fix a problem with voicing and encoding of non-latin chars.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16420 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Wenger 2008-02-25 22:02:55 +00:00
parent 460d6d2d22
commit d809d186f7
2 changed files with 4 additions and 4 deletions

View file

@ -186,11 +186,11 @@ bool EncRbSpeex::encode(QString input,QString output)
char errstr[512];
FILE *fin,*fout;
if ((fin = fopen(input.toUtf8(), "rb")) == NULL) {
if ((fin = fopen(input.toLocal8Bit(), "rb")) == NULL) {
qDebug() << "Error: could not open input file\n";
return false;
}
if ((fout = fopen(output.toUtf8(), "wb")) == NULL) {
if ((fout = fopen(output.toLocal8Bit(), "wb")) == NULL) {
qDebug() << "Error: could not open output file\n";
return false;
}