mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-19 01:52:35 -05:00
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:
parent
460d6d2d22
commit
d809d186f7
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue