Artur Bergman (crucially) wrote,
Artur Bergman

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

Now on to making sense of this data...


And because perl is wonderful, supports MacRoman.. all I needed was my $line = encode('utf-8', decode("MacRoman", $_)); and now it just works.

  • Post a new comment


    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