Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: Rajai on May 31, 2014, 05:40:25 pm

Title: Simple C language code issue
Post by: Rajai on May 31, 2014, 05:40:25 pm
How can I print foreign characters on the screen using C in code blocks? Here's my code, which doesn't work:

#include <stdio.h>
#include <locale.h>

int main(){

setlocale(LC_ALL,"Turkish");

printf("İ ş ğ ı");

system("pause");
return 0;
}
Title: Re: Simple C language code issue
Post by: BlueHazzard on June 01, 2014, 11:07:38 am
This is not a C::B development question. This has nothing to do with c::b in any way...
this is a general unicode -c question, and so here (in the whole forum) is the wrong place to ask such questions...

A moderator will lock this topic.

you can try this, but don't ask here for more help: http://forums.codeblocks.org/index.php/topic,18803.msg128791.html#msg128791
Title: Re: Simple C language code issue
Post by: Rajai on June 03, 2014, 12:26:22 am
calm down.. nobody is freakin answering that anyway..
Title: Re: Simple C language code issue
Post by: stahta01 on June 03, 2014, 01:12:21 am
calm down.. nobody is freakin answering that anyway..

Learn to read the rules before posting on a Web Forum http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html)

Learn to read the replies to your posts.

Learn to read the description of the sub-forum you post in!!

Tim S.
Title: Re: Simple C language code issue
Post by: Rajai on June 03, 2014, 11:14:04 am
i asked the same question in stackoverflow and they were able to get my code working right but i wasnt able to do that because of my CB setting, my way of asking the question was wrong but there's no need to talk that way, calm down people!
Title: Re: Simple C language code issue
Post by: stahta01 on June 03, 2014, 12:47:13 pm
i asked the same question in stackoverflow and they were able to get my code working right but i wasnt able to do that because of my CB setting, my way of asking the question was wrong but there's no need to talk that way, calm down people!

So, you still can NOT read and comprehend what you read; I pity you.

Tim S.