decode META as UTF-8 array if binary

main
Jean-Michel Friedt 2024-06-08 17:18:01 +02:00
parent 694f0d9e2d
commit 9a3c06b6ba
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ void m17_coder_impl::set_meta(std::string meta) // either an ASCII string if enc
{lsf.meta[j]=(meta.data()[i]-0xc2)*0x40+meta.data()[i+1];i+=2;j++;}
}
while ((j<=14) && (i<=length));
length=j-1; // remove last increment
length=j;
printf("%d bytes: ",length);
for (i=0;i<length;i++) printf("%hhX ",lsf.meta[i]);
printf("\n");