Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: warn about odd UTF-16 decoding function signature #22623

Closed
wants to merge 1 commit into from

Commits on Aug 31, 2018

  1. src: warn about odd UTF-16 decoding function signature

    Using a `uint16_t` sequence for UTF-16 processing would typically
    imply that the sequence already contains the correct 16-bit
    code units.
    
    However, our API does not account for that. The previous comments
    were somewhat misleading, since endianness is typically applied to
    sequences of bytes, which is not something that this API works with.
    addaleax committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    a8543c0 View commit details
    Browse the repository at this point in the history