mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-06-13 12:38:08 +00:00
server : return utf-8 (#2138)
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user