Use Turkish characters

Answered

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
1 comment

Hello!

Please change file encoding back to Utf-8. 

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

1

Please sign in to leave a comment.