Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • C cpython
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • cpython
  • Repository
  • cpython
  • Objects
  • unicodeobject.c
Find file BlameHistoryPermalink
  • Marc-André Lemburg's avatar
    This patch changes the behaviour of the UTF-16 codec family. Only the · 489b56e0
    Marc-André Lemburg authored May 21, 2001
    UTF-16 codec will now interpret and remove a *leading* BOM mark. Sub-
    sequent BOM characters are no longer interpreted and removed.
    UTF-16-LE and -BE pass through all BOM mark characters.
    
    These changes should get the UTF-16 codec more in line with what
    the Unicode FAQ recommends w/r to BOM marks.
    489b56e0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7