Reactify (and many other browserify transforms it seems) does not handle mutibyte characters well. Depending on buffer sizes a chunk written to reactify's transform stream could be split in the middle of a multibye character. Since reactify converts the chunk to a string right away one could end up with the following string representations of two chunks (where � is the unicode replacement character):
Reactify (and many other browserify transforms it seems) does not handle mutibyte characters well. Depending on buffer sizes a chunk written to reactify's transform stream could be split in the middle of a multibye character. Since reactify converts the chunk to a string right away one could end up with the following string representations of two chunks (where � is the unicode replacement character):
which would be assembled to: