In https://github.com/tcvan0707/txt2html/blob/main/src/txt2html.js#L36 you cast to a string. A better way to do this is to request that node encode the resulting buffer as a utf-8 string: ```js const text = await fs.readFile(filePath, 'utf-8'); ```
In https://github.com/tcvan0707/txt2html/blob/main/src/txt2html.js#L36 you cast to a string. A better way to do this is to request that node encode the resulting buffer as a utf-8 string: