Fibjs repl can't correctly print '吉' that built from Buffer but node works
forchid opened this issue · 0 comments
forchid commented
Test case
C:\Users\Administrator>fibjs
Welcome to fibjs 0.35.0.
Type ".help" for more information.
> var b = Buffer.from('吉');
> console.log(b.toString());
��
> .exit
C:\Users\Administrator>node
Welcome to Node.js v16.13.0.
Type ".help" for more information.
> var b = Buffer.from('吉');
undefined
> console.log(b.toString());
吉
undefined
>