MIME (Multi-purpose Internet Mail Extensions)

MIME (Multi-purpose Internet Mail Extensions)

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

What were the design goals of UTF-8?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (7)

Section 1

(7 cards)

What were the design goals of UTF-8?

Front

- Backwards compatibility with ASCII encoding (Both UTF-8 and ASCII encoding should map all ASCII characters to the same 1-byte number) - Allow easy recovery of the string from error (Even if a byte is missing, recover from the next character)

Back

How is the MIME type specified in HTTP?

Front

In "Content-Type" header as "type/subtype" e.g. Content-Type: text/html

Back

How can we specify Unicode using Content-Type HTTP header?

Front

Content-Type: text/html; charset=UTF-8

Back

What lengths can UTF-16 strings be?

Front

2 or 4 bytes

Back

What are the problems with the UCS-2 scheme? (2-byte Universal Character Set)

Front

- Waste of space - Legacy applications cannot handle Unicode data even if data contains only ASCII characters - Unicode applications cannot handle legacy ASCII data

Back

What is a code page?

Front

A unique number given to a particular character encoding by a system e.g. On Windows: Hebrew (862), Greek (727), Korean (949)

Back

What is a character encoding/set?

Front

A mapping between numeric numbers and alphabetic characters

Back