EBCDICとは
IBMのあれ
http://ja.wikipedia.org/wiki/EBCDIC
ソースコード
ebcdic.clj
(import [java.nio.charset Charset])
(def string "ABJ9 &!a/")
(def bytes (.getBytes string (Charset/forName "cp930")) )
(map #(Integer/toHexString (bit-and % 0xff)) bytes)
More than 5 years have passed since last update.
IBMのあれ
http://ja.wikipedia.org/wiki/EBCDIC
(import [java.nio.charset Charset])
(def string "ABJ9 &!a/")
(def bytes (.getBytes string (Charset/forName "cp930")) )
(map #(Integer/toHexString (bit-and % 0xff)) bytes)
Register as a new user and use Qiita more conveniently