It's complicated to phone call what is being asked here. This question is ambiguous, vague, incomplete, too many broad, or rhetorical and cannot be reasonably answered in its current form. For aid clarifying this concern so that it can be reopened, visit the assist center.
*

*

It relies what is the character and also what encoding the is in:

An ASCII character in 8-bit ASCII encoding is 8 bits (1 byte), despite it have the right to fit in 7 bits.

You are watching: 1 character is how many bytes

An ISO-8895-1 character in ISO-8859-1 encoding is 8 bits (1 byte).

A Unicode personality in UTF-8 encoding is between 8 bits (1 byte) and 32 bits (4 bytes).

A Unicode character in UTF-16 encoding is in between 16 (2 bytes) and 32 bits (4 bytes), though most of the common personalities take 16 bits. This is the encoding offered by home windows internally.

A Unicode personality in UTF-32 encoding is always 32 bits (4 bytes).

An ASCII character in UTF-8 is 8 bits (1 byte), and also in UTF-16 - 16 bits.

The extr (non-ASCII) personalities in ISO-8895-1 (0xA0-0xFF) would take 16 bits in UTF-8 and UTF-16.

That would median that there are in between 0.03125 and 0.125 characters in a bit.


share
improve this prize
follow
edited jan 31 "11 in ~ 11:53
answered jan 31 "11 in ~ 11:25
*

Rosh OxymoronRosh Oxymoron
18.4k55 yellow badges3737 silver badges4343 bronze badges
1
add a comment |
17
There space 8 bits in a byte (normally speak in Windows).

However, if girlfriend are handling characters, that will rely on the charset/encoding. Unicode character have the right to be 2 or 4 bytes, therefore that would certainly be 16 or 32 bits, conversely, Windows-1252 sometimes incorrectly dubbed ANSI is just 1 bytes for this reason 8 bits.

In asian version of Windows and some others, the entire system operation in double-byte, so a character is 16 bits.

See more: How To Increase Lung Capacity Gta Online, Skills In Grand Theft Auto V

EDITED

Per Matteo"s comment, all modern-day versions of Windows use 16-bits internally per character.


re-publishing
boost this price
monitor
edited january 31 "11 in ~ 11:36
answered january 31 "11 at 11:19
*

RichardTheKiwiRichardTheKiwi
100k2424 yellow badges185185 silver- badges256256 bronze title
5
add a comment |

Not the prize you're spring for? Browse various other questions tagged character-encoding byte or ask your very own question.


The Overflow Blog
Featured top top Meta
Linked
4
Fastest means of convert uppercase to lowercase and lowercase come uppercase in Java
9
What is byte-offset value in hadoop or in java?
2
How to convert byte<> to String without acquiring outofmemory error in Android?
0
Is a js message file's dimension the quantity of characters within that plus one together a rule?
associated
293
Is there an upside down caret character?
2285
how do I obtain a consistent byte depiction of strings in C# without manually point out an encoding?
716
just how do I check out what character collection a MySQL database / table / shaft is?
613
MySQL Error #1071 - Specified key was also long; max vital length is 767 bytes
111
How numerous bytes in a JavaScript string?
13
exactly how do I uncover out how numerous bytes a character has?
496
how to convert whole MySQL database characterset and collation to UTF-8?
1195
Best way to transform string come bytes in Python 3?
81
What is the maximum number of bytes for a UTF-8 encoded character?
2
How numerous Bits represent ONE character and How many Bits represent One Byte in ASCII?
hot Network inquiries much more hot inquiries
*

stack Overflow
products
company
ridge Exchange Network
site style / logo design © 2021 ridge Exchange Inc; user contributions licensed under cc by-sa. Rev2021.9.27.40313


Stack Overflow works finest with JavaScript allowed
*

your privacy

By click “Accept every cookies”, you agree ridge Exchange deserve to store cookies on your device and disclose details in accordance v our Cookie Policy.