RFC 4627 Default Encoding for JSON Text Is UTF-8
What is the RFC 4627 default encoding for JSON text?
Community Votes
100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The JSON spec's default is UTF-8 — not UCS-2, not a locale-specific encoding like GB18030, and certainly not raw hex.
RFC 4627 (the JSON specification) requires JSON to be encoded in Unicode and defines UTF-8 as the default encoding. UTF-8 is the most widely used JSON encoding and ensures broad compatibility.
Picking UCS-2 (option A): that is a fixed-width Unicode encoding, not JSON's default; others like GB18030 are locale-specific and not used by JSON.
Community Discussion (4 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
C (UTF-8) is correct. RFC 4627, section 3, states: 'JSON text SHALL be encoded in Unicode. The default encoding is UTF-8.'Why the Other Options Are Wrong
A (UCS-2) is a fixed-width Unicode form, not JSON's default. B (GB18030) is a Chinese character encoding and is unrelated to JSON. D (Hex) is a representation format, not a text encoding.Community Comment Notes
The vote is C (100). Commenters cite RFC 4627 page 4: 'The default encoding is UTF-8.'Official Reference
Related Analysis
Practice All 200-301 Questions
Access 220 questions with complete answers and detailed explanations.
View Full 200-301 Practice Test →