Different characters take more/less data?

Posted by Nathan on Stack Overflow See other posts from Stack Overflow or by Nathan
Published on 2014-06-02T20:38:57Z Indexed on 2014/06/02 21:27 UTC
Read the original article Hit count: 129

Filed under:
|
|

I am working on a personal project and I'm wondering if certain characters take up more data in a text file than others. I need to choose a character to seperate items in my file, but if a 0 uses less bytes than a ! or something, it would be best to do that. I know all characters have an ASCII value, but would a lower ASCII value mean the character can be stored in fewer bytes?

This might be an incredibly stupid question, but I don't see any information on the topic online so I came here to check.

Thanks!

© Stack Overflow or respective owner

Related posts about text

Related posts about byte