Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix a problem about Multi-Byte character (#1042)
* 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. * 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. * remove unnecessary output in post-data-concat-test * correct initialization in post-data-concat-test move initialization and finalization into before and after block
- Loading branch information