Skip to content

Commit b680be5

Browse files
committed
fix: The UTF8 issue is solved !!
1 parent 1a201f3 commit b680be5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bot/irclogbot.bot.pas

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ procedure TIRCLogBot.OnJoin(ASender: TIdContext; const ANickname, AHost,
117117
if FConfig.UseUTF8 then
118118
begin
119119
debug('Using UTF8');
120+
FIRC.IOHandler.DefAnsiEncoding:= IndyTextEncoding_UTF8;
120121
FIRC.IOHandler.DefStringEncoding:= IndyTextEncoding_UTF8;
121122
end;
122123

0 commit comments

Comments
 (0)