Dab tsi yog qhov txawv ntawm utf8 thiab ISO 8859 1?
Dab tsi yog qhov txawv ntawm utf8 thiab ISO 8859 1?

Video: Dab tsi yog qhov txawv ntawm utf8 thiab ISO 8859 1?

Video: Dab tsi yog qhov txawv ntawm utf8 thiab ISO 8859 1?
Video: Yog hmoov dab tsi - Gao Nou Kue ft. Mang Vang (Official Music Video) New song 2020 2024, Kaum ib hlis
Anonim

8 Teb. UTF-8 yog multibyte encoding uas tuaj yeem sawv cev txhua tus cim Unicode. ISO 8859 Kev Tswj Xyuas Kev Lag Luam - 1 yog ib-byte encoding uas tuaj yeem sawv cev thawj 256 tus cim Unicode. Ob leeg encode ASCII raws nraim tib txoj kev.

Ib yam li ntawd, encoding ISO 8859 yog dab tsi?

UTF-8 yog multibyte encoding uas tuaj yeem sawv cev txhua tus cim Unicode. ISO 8859 Kev Tswj Xyuas Kev Lag Luam - 1 yog ib-byte encoding uas tuaj yeem sawv cev thawj 256 tus cim Unicode. Ob leeg encode ASCII raws nraim tib txoj kev.

Tsis tas li ntawd, qhov txawv ntawm utf8 thiab Latin1 yog dab tsi? Hauv Latin 1 txhua tus cim yog raws nraim ib byte ntev. Hauv uaf 8 tus cwj pwm tuaj yeem muaj ntau dua ib byte. Yog li ntawd uaf 8 muaj cov cim ntau dua Latin 1 (thiab cov cim uas lawv muaj nyob rau hauv ntau tsis tas sawv cev los ntawm tib byte / bytesequence).

Tom qab ntawd, lo lus nug yog, ISO 8859 tus cwj pwm yog dab tsi?

Latin - 1 , kuj hu ISO - 8859 - 1 , yog 8bt ua cim pom zoo los ntawm International Organization for Standardization ( ISO ) thiab sawv cev rau cov tsiaj ntawv ntawm Western European lus. Qhov no yog vim thawj 128 cov cim ntawm nws teeb zoo ib yam li US ASCII tus qauv.

UTF 8 txhais li cas?

UTF - 8 ( 8 -bit Unicode Hloov Hloov Hom) yog Qhov sib txawv ntawm qhov sib txawv ntawm cov cim encoding muaj peev xwm ntawm kev nkag siab tag nrho 1, 112, 064 cov ntsiab lus siv tau hauv Unicode siv ib txog plaub 8 -ib bytes. Qhov encoding yog txhais los ntawm Unicode Standard, thiab yog tsim los ntawm Ken Thompson thiab Rob Pike.

Pom zoo: