How to convert toString ('hex') in Node back

http://nodejs.cn/api/buffer.h.

for example, there is a text saying "it"s a beautiful day today"

const R1 = content.toString ("hex")

how to convert R1 back to Chinese? Setting utf8 for R1 toString seems to have no effect

Mar.20,2021

you can go back to Buffer before converting to a string.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36aa2-343fb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36aa2-343fb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?