回复: UTF-8 and latin1

Daniel Lee Daniel-ZX.Li at hotmail.com
Fri Aug 19 04:40:50 EDT 2022


Thanks!

发件人: Stefan Ram<mailto:ram at zedat.fu-berlin.de>
发送时间: 2022年8月19日 6:23
收件人: python-list at python.org<mailto:python-list at python.org>
主题: Re: UTF-8 and latin1

Tobiah <toby at tobiah.org> writes:
>                              When a person enters
>Montréal, Quebéc into a form field, what are they
>doing on the keyboard to make that happen?

  Depends on the OS and its configuration. Some devices might
  not even have a keyboard as hardware.

>                                            As the
>string sits there in the text box, is it latin1, or utf-8
>or something else?

  This is an internal implementation detail of the browser.

>                    How does the browser know what
>sort of data it has in that text box?

  This is an internal implementation details of the browser.

  You usually do not need to know these internal information
  about the browser in order to use it.


--
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Fmailman%2Flistinfo%2Fpython-list&data=05%7C01%7C%7C242e3a7de5ba4183621b08da81684702%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637964582138805523%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=HSG21e6Aj5pyf7m8e290Rv7tsMMfCGZptEU32iMbo1I%3D&reserved=0



More information about the Python-list mailing list