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