Dave Sherohman wrote:
> 
> The Identity of the god R\355g
> from the Eddic Poem R\355gs\376\372la
> 
> How would I go about cleaning this up and making it web-readable?
> Ideally, I would like to do it such that the \nnn codes will display
> the correct Icelandic characters in a browser, but I suspect that
> transliterating to standard ASCII would be the most widely-compatible
> way to go.

If you want to convert to 8-bit ASCII, this perl script will work:

#!/usr/bin/perl

@lines = <STDIN>;
foreach $line (@lines)
{
  system ("echo -en \'$line\'");
}

However, if you want an HTML version, the best thing to do would be to
convert the \nnn strings into the appropriate HTML entities.  \355 is
the character `í', which is `&iacute;' in HTML, for example.  It would
be easy to write an appropriate perl or sed script to fix it up.

-- 
 _  _  _  _ _  ___    _ _  _  ___ _ _  __   I like to reminisce with 
/ \/ \(_)| ' // ._\  / - \(_)/ ./| ' /(__   people I don't know. 
\_||_/|_||_|_\\___/  \_-_/|_|\__\|_|_\ __)                             
[ Mike Hicks | http://umn.edu/~hick0088/ | mailto:hick0088 at tc.umn.edu ]