Convert non-ASCII characters to UTF-8 or C-string literals

Comments are converted to UTF-8.

Strings which are part of executable code are converted using C-string hex literals. A comment with the intended UTF-8 character is appended to such lines.

The "c"-looking character in mpa.c was actually a small cyrillic "s" (i.e. "с").

Change-Id: If3a889080ef60b8bf756ad9ada38baede93ce35b
This commit is contained in:
Vencislav Atanasov 2024-12-12 20:45:10 +02:00 committed by Solomon Peachy
parent 5d7c8a0df1
commit 1468649258
5 changed files with 25 additions and 25 deletions

View file

@ -207,7 +207,7 @@ static int get_file_pos(int newtime)
if (pos == -1 || (skipms_from_curpos >= 0 && pos > curpos) || (skipms_from_curpos < 0 && pos < curpos))
{
pos = curpos - skipms_from_curpos * (id3->filesize / id3->length);
//LOGF("сurpos relative seek: %d, curpos: %d, newtime: %d", pos, curpos, newtime);
//LOGF("curpos relative seek: %d, curpos: %d, newtime: %d", pos, curpos, newtime);
}
} else if (id3->bitrate) {
pos = newtime * (id3->bitrate / 8);