Artur Bergman (crucially) wrote,
Artur Bergman
crucially

So today I am trying to do something with my uncles opera database, it lived in a couple of compact pro files, turns out nothing can actually assemble compact pro files except compact pro. So thanks to Richard who had an old mac around I managed to get the csv file on to my mac.

Now I am dealing with encoding issue, thankfully I torgo_x managed to figure out that \237 meaning ü was an MacASCII/MacRoman format, he also provided this little link http://interglacial.com/~sburke/pub/mac_old/ampify_8-bit_clipboard.pl

Now on to making sense of this data...

Update:

And because perl is wonderful, http://search.cpan.org/~dankogai/Encode-2.18/Byte/Byte.pm supports MacRoman.. all I needed was my $line = encode('utf-8', decode("MacRoman", $_)); and now it just works.
Subscribe

  • (no subject)

    The height of alternative-English-rock. Ironically, they didn't see a penny of this song, it all went to Rolling Stones.

  • 80s Music friday

    In two versions, first the original and the translation.

  • 80s Music friday

    This one has it all, long running time, awesome hair, bad effects and weird clothes. It is also one of the best music videos ever made, and…

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment