flat assembler
Message board for the users of flat assembler.

Index > High Level Languages > c character set?

Author
Thread Post new topic Reply to topic
b1528932



Joined: 21 May 2010
Posts: 287
b1528932 30 Jan 2011, 22:44
I just started to wonder, what character set is used by c?

My first guess is pure ASCII.
If its not ASCII, what codepage gcc use?

Can i compile file in utf8, or utf16, if its not just ASCII?



ive noticed that i can put certain characters as variable names, this tell much.
Actually what characters can make name in c?
Post 30 Jan 2011, 22:44
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 30 Jan 2011, 23:54
>> I just started to wonder, what character set is used by c?
char is ASCII, new specs have brought support for new types and new character sets. I haven't looked into it that much.

>> Actually what characters can make name in c?
A-z + _ for the first letter and A-z + _ + 1-9 for the rest.
Post 30 Jan 2011, 23:54
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.