[SLE] Re: [Way OT] Does anyone know c callable API for converting from ascii to ebcdic?
30 May
2002
30 May
'02
20:31
François Pinard writes:
[Jesse Marlin]
Here is something that I have found. It uses a simple table lookup to convert an entire buffer. We also have a swedish to ebcdic as well.
static unsigned char const latin1_to_ebcdicus[256] = [...]
Looks much like the output of "recode -h latin1..ebcdicus"... :-)
Might be, it is a function we use at work which was probably scraped from somewhere.
-- François Pinard http://www.iro.umontreal.ca/~pinard
8247
Age (days ago)
8247
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jesse Marlin <Jesse Marlin