Skip to content

Commit

Permalink
server : return utf-8 (ggerganov#2138)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov authored and iThalay committed Sep 23, 2024
1 parent d2f96c9 commit 4f83fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 4f83fb1

Please sign in to comment.