Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Why printf() does not care of my locale settings ?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="David Resnick, post: 3891952"] I believe that the issue is that C is not in charge of what character set your terminal displays. If you look up setlocale you'll see that it influences things like collation and the ctype macros. Your terminal is probably set for the Windows equivalent of iso-8859-1 or -15 roughly speaking. I have a vague and perhaps faulty memory that the dos command chcp (CHange Code Page) might be relevant to changing what terminal will display. You could try chcp 1252 in a DOS window before executing your program in the same console. If you have questions about that you should try a windows group... -David [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Why printf() does not care of my locale settings ?
Top