Question discussion

In UTF-8 encoding, a single character is stored in

1109Medium DSSSB TGT Computer Science 0 replies

In UTF-8 encoding, a single character is stored in

  • Aexactly 1 byte
  • Bexactly 2 bytes
  • C1 to 4 bytes
  • D2 to 8 bytes
Correct answer: C

Explanation

UTF-8 is a variable-length encoding using 1 byte for ASCII characters and up to 4 bytes for others.

Discussion 0

Nobody has replied yet. Start the discussion!