+ 1

How to convert ascii to EBCDIC in JavaScript?(unresolved)

3rd May 2020, 3:13 PM
Nikhil Gupta
Nikhil Gupta - avatar
10 odpowiedzi
+ 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
19th Sep 2020, 2:33 PM
Diego Medeiros
Diego Medeiros - avatar
0
Hello Abhay ... unfortunately am looking for ascii to EBCDIC..
3rd May 2020, 3:24 PM
Nikhil Gupta
Nikhil Gupta - avatar
0
Sorry
3rd May 2020, 3:28 PM
Abhay
Abhay - avatar
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?
3rd May 2020, 3:34 PM
Nikhil Gupta
Nikhil Gupta - avatar
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
3rd May 2020, 3:38 PM
Abhay
Abhay - avatar
0
Ol thanks mate
3rd May 2020, 3:40 PM
Nikhil Gupta
Nikhil Gupta - avatar
0
Thanks i will try this
4th May 2020, 2:29 AM
Nikhil Gupta
Nikhil Gupta - avatar
0
Thanks I have used the same...👍👍
19th Sep 2020, 3:44 PM
Nikhil Gupta
Nikhil Gupta - avatar