Q88
Which of the following encoding an XML parser assumes ?
A.
UTF-8
B.
UTF-16
C.
UTF-32
D.
both a and b
AnswerAnswer: 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.