mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-11-07 08:34:37 +01:00
server : return utf-8 (#2138)
This commit is contained in:
parent
3928dbd206
commit
4ef8d9f44e
@ -831,7 +831,7 @@ int main(int argc, char ** argv) {
|
||||
if (params.response_format == text_format)
|
||||
{
|
||||
std::string results = output_str(ctx, params, pcmf32s);
|
||||
res.set_content(results.c_str(), "text/html");
|
||||
res.set_content(results.c_str(), "text/html; charset=utf-8");
|
||||
}
|
||||
else if (params.response_format == srt_format)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user