answersLogoWhite

0

1 Kb is 1024 bytes and 1 character takes 1 byte of the main memory. So, it is 1024 chars in 1 Kb.

The preceding is only true for languages which have 8-bit characters. Most modern computer languages support the concept of Unicode, which allows for character encodings in various languages. The most widespread Unicode encoding format is UTF-8, which uses between 1 and 4 bytes to represent a specific character symbol.

For instance, the Java programming language assumes all characters are in Unicode UTF-16 format, which is a 16-bit character encoding. So, in Java, only 512 characters will fit in 1 kB.

User Avatar

Wiki User

13y ago

What else can I help you with?