[erlang-questions] Looking for EBCDIC <-> ASCII conversion library

Pierpaolo Bernardi <>
Wed Nov 7 21:53:13 CET 2007


On 11/7/07, David Mitchell <> wrote:
> Hello everyone,
>
> I'm looking for a library that will allow me to convert EBCDIC to
> ASCII and vice-versa.

> Any pointers or suggestions?
>
> Thanks in advance

-module(ebcdic).

-export([to_ascii/1, from_ascii/1]).

to_ascii(0) -> "insert here an appropriate number";
to_ascii(1) -> "insert here an appropriate number";
...

from_ascii(0) -> "insert here an appropriate number";
...


> It's hard enough to get them to accept Erlang ;->

No doubt.

P.



More information about the erlang-questions mailing list