Use Turkish characters

已回答

How can i use Turkish characters for input/output? I tried to cahange 'Utf-8' to 'Windows-1254' and add

#include<locale.h>
setlocale(LC_ALL,"Turkish");

but not working. Thanks for help.

1

Hello!

Please change file encoding back to Utf-8. 

Try adding system("chcp 65001 > nul"); before reading/printing characters, it usually helps.

1

请先登录再写评论。