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

fix a problem about Multi-Byte character #1042

Merged
merged 4 commits into from Feb 8, 2019
Merged

Commits on Feb 5, 2019

  1. fix a problem about Multi-Byte character

    If the data contains Multi-Byte character,it may be cut by the tcp packets,then the join function's result will contain some unintelligible text,because it turns the object in the array into string before the concat action.So,we should replace it with the Buffer class's member function concat.
    rhjyy committed Feb 5, 2019
    Copy the full SHA
    03af7b5 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2019

  1. add a test of a problem about multi-byte character

    The fix of this problem is in the commit 03af7b5.If the data contains Multi-Byte character,it may be cut by the tcp packets,then the join function's result will contain some unintelligible text,because it turns the object in the array into string before the concat action.
    rhjyy committed Feb 7, 2019
    Copy the full SHA
    6e447b4 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4d4a86d View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2019

  1. correct initialization in post-data-concat-test

    move initialization and finalization into before and after block
    rhjyy committed Feb 8, 2019
    Copy the full SHA
    03fbd21 View commit details
    Browse the repository at this point in the history