Vidyalelo
HTML · Q88

Basic HTML

Programming · HTML · question 88

Q88

Which of the following encoding an XML parser assumes ?

A.
UTF-8
B.
UTF-16
C.
UTF-32
D.
both a and b
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
If an XML document lacks encoding specification, an XML parser assumes that the encoding is UTF-8 or UTF-16.