❯ node ./index.js
String: Hello, 世界
Character at position 0: H
Character at position 1: e
Character at position 2: l
Character at position 3: l
Character at position 4: o
Character at position 5: ,
Character at position 6:  
Character at position 7: 世
Character at position 8: 界
Byte at position 0: 48
Byte at position 1: 65
Byte at position 2: 6c
Byte at position 3: 6c
Byte at position 4: 6f
Byte at position 5: 2c
Byte at position 6: 20
Byte at position 7: e4
Byte at position 8: b8
Byte at position 9: 96
Byte at position 10: e7
Byte at position 11: 95
Byte at position 12: 8c