Skip to content

utf8_decode函数在解码unicode值超过0xFFFF的utf8串的时候有bug #1

Open

Description

@hxrain

应该是循环里面没有正确对*pch赋值.

Activity

  1. hxrain commented on Jan 11, 2019

    @hxrain
    Author

    130行,缺少语句:
    *pch = res;

  2. hxrain commented on Jan 14, 2019

    @hxrain
    Author

    120行,应该进行初始赋值.
    unsigned int res=0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions