mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-12 07:34:41 +02:00
Some notes
This commit is contained in:
parent
91e0c44d9d
commit
8f988f5dc1
2 changed files with 2 additions and 1 deletions
|
@ -473,6 +473,7 @@ function Packet(options) {
|
|||
try {
|
||||
decoded = iconv.decode(messageBodyBuffer, encoding);
|
||||
} catch(e) {
|
||||
// :TODO: add log warning here including failure reason
|
||||
decoded = iconv.decode(messageBodyBuffer, 'ascii');
|
||||
}
|
||||
//const messageLines = iconv.decode(messageBodyBuffer, encoding).replace(/\xec/g, '').split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/g);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue