Since there is no managed or open source way to get a PUID for MusicBrainz (Thank you, thank you MusicIP…), you have to call it as an external process. However, since Windows makes all the console-based executables have a character set of SBCSCodePageEncoding, accents get messed up.

After several hours of smashing my head against the wall and venting on GTalk w/ scottp, I finally got it to work:

Encoding.UTF8.GetString(ProcessObj.StandardOutput.CurrentEncoding.GetBytes(“yadda yadda”));

And now it all works. Yay! iBrainz is almost finished…