+ 1
How to convert ascii to EBCDIC in JavaScript?(unresolved)
10 Answers
+ 1
I found this project: https://github.com/SheetJS/js-codepage
To convert, do:
const EBCDICBytes = new Buffer.from (cptable.utils.encode (EBCDIC Code, 'string ascii', 'arr'))
The supported codes:
https://github.com/SheetJS/js-codepage#generated-codepages
0
Hello Abhay ... unfortunately am looking for ascii to EBCDIC..
0
Sorry
0
Yes i saw that..but my challenge is on node js ...i can easily do in java ...so anything comes on node will be better...even i tried codepage npm..but anyother way?
0
Sorry I dunno anything about it,maybe wait for someone else ,also you can write UNSOLVED after your question title so that people know you didn't got the answer yet
0
Ol thanks mate
0
Thanks i will try this
0
Thanks I have used the same...đđ