let cStringRef : CFStringRef = CFStringCreateWithCString(nil, NSBundle.mainBundle().pathForResource("Luffy", ofType: "mp3")! , kCFStringEncodingMacRoman)
this encoding isn't working, though it is present in the Documentation.
to get MacRoman, I used CFStringGetSystemEncoding()
My question is how to retrieve a CFStringEncoding other than this.
If you just want to convert the path of
Luffy.mp3toCFString, use this:Edit: if you want to go the long way: