Help - Search - Members - Calendar
Full Version: Accent characters in APL files
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
c0utta
Guys,

A few months ago it was suggested that I should use APL files to provide linking functionality. I chose this because APL files could be tagged and meant that I could save on some disk space.

The only issue with APL files is that when I reference paths that have accents in them, such as "\T\Tool\1996 - Ænima\01 - Stinkfist.mp3" the file won't link due to the Æ.

Is this a known problem and is there a simple way around it ?

Thanks,

c0utta
kode54
foo_apl expects the image file string to be UTF-8 encoded. It also expects the file to start exactly on [Monkey's Audio Image Link File], so if you use Windows 2000+ Notepad to save a UTF-8 file, you'll have to remove the Byte Order Marker with a hex editor, or some other text editor which does not recognize the marker.

Or, if your text editor supports explicitly pasting Unicode clipboard text as UTF-8, or converting the selected text to UTF-8, you can use that instead.
c0utta
kode,

Thanks - that works perfectly. I'm using PSPad and just select Format/UTF-8 and Save with my existing APL files. I have been creating the APL files using VBScript (doing a mass cleanup) which has been creating them as Unicode.

For others using the VBScript technique, create the APL as a Stream, set the CharSet to "UTF-8" and everything's sweet.

Cheers,

c0utta
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.