Problem figuring out the encoding for filenames with special characters

I'm not sure if this is the right forum, but this does seem like an OS issue.
I brought in a lot of mp3 and m3u files from a Windows machine to my new Mac. Some of the mp3 files have accented characters in their names, and these names appear in the m3u files. But if I add the m3u file to iTunes, it fails to recognize these names and so I lose all the mp3's with special characters in their names.
I tried to fix this by grabbing the files name in Python, but that didn't work either!
Here's an example: the file's name is "Voilà l'été.mp3"
The m3u files says "Voil\xe0 l'\xe9t\xe9.mp3" -- this doesn't work.
From os.listdir(), I get Voila\xcc\x80 l'e\xcc\x81te\xcc\x81.mp3", but sticking it in an m3u files doesn't work either. (Note that here the characters are encoded as unaccented letter + two byte code for the accent).
When I try these strings from python, e.g. doing os.stat(), they both work; but iTunes doesn't understand any of them!
I'd appreciate any hints on how to enter these names in the m3u file so that iTunes can read it. Thanks!

I know nothing about "m3u" files and how iTunes interprets the file names in them, but if it is not a relative/absolute path problem, then how about just putting the raw file names (not the ones with backslash escape) in m3u file? For example, just put
Voilà l'été.mp3
in m3u?
As for Unicode encoding, HFS+ file system uses the "decomposed form" for accented characters. This means, as you write, à is hex "61 cc 80" in UTF-8, i.e., "a + COMBINING GRAVE ACCENT". The pre-composed form is hex "c3 a0". But my experience is that in most cases both pre-composed and decomosed forms work at the user level (not at the lowest file system level).

Similar Messages

  • Has anyone figured out the video driver issue with tx2000?

    my tx2525nr is having issues... the screen works great for a bit then it starts to flicker and or go black, then it locks up and gives me a blue screen of death stating the atimag*.* driver is bad..i heard the issues is with the driver not compatible with win 7. so i changed back to vista premium. well it started again after i did all my updates. but worked fine until then... doesnt anyone know what driver to use?

    On your iPhone go to Settings > General > Reset and select Reset Network Settings.
    This will erase all wi-fi network settings from your iPhone.
    If no change after that, try restoring your iPhone with iTunes as a new iPhone or not from your iPhone's backup. This will not prevent you from restoring the iPhone from the most recent backup later if no change after this.
    If no change after restoring your iPhone with iTunes as a new iPhone or not from your iPhone's backup, your iPhone has a hardware problem with the wireless card or with something else. The iPhone includes a one year warrranty.

  • Please help me figure out the reason for this error

    Hello I am trying to run the jar Gui file I got from http://www.cs.cmu.edu/~cmucam/cmucam2/downloads.html
    and am getting the following error:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no sserial in java.li
    brary.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at serialPort.<clinit>(serialPort.java:22)
    at SerialComm.<init>(SerialComm.java:50)
    at CameraSerial.<init>(CameraSerial.java:64)
    at MainWindow.<init>(MainWindow.java:620)
    at CMUcam2GUI.main(CMUcam2GUI.java:7)
    Can anyone figure out why I am getting this error? I am running it on a windows xp professional system.

    Yes you need the sserial native library (and no I do not know where to get it).

  • Bash script to trim all filenames with special characters recursively?

    Hi,
    I have a 30 GB directory full of data I recovered from a friend's laptop after her Windows XP crashed. I'd like to burn that data, but I can't, because many of the filenames contain weird characters (spaces, accents, things even worse that my XTerm displays as inverted question marks). So, mkisofs exits with an error.
    I'd like to clean that mess up, but it would take months to do that manually. Well, I only know a very little Bash, but I think this problem is already too heavy for my modest knowledge. Here's the problem:
    - check the contents of directory ~/backup recursively
    - find files whose filenames contain characters other than [A-Za-z0-9] and then maybe "-" and "_" and ".".
    - replace these characters either by an "_" or just erase them
    Now how would I translate that into a little Bash script?
    Cheers...

    Heyyyyy... nice idea

  • HT201320 How can you figure out the password for college email providers?

    I'm trying to configure my mail account. I want to use my college email but I don't know the provider password. How can I find that out?

    IT = Information Technology

  • Problems with special characters in JSP app

    Hello!
    I am working for a JSP application which uses special characters.
    The database used is a Novell MySQL version, it is fine.
    I use Tomcat, Apache.
    I do not think that the versions are important.
    ON NT:
    The application works fine with special characters.
    Obs: I tried only with Tomcat; I didn't use Apache.
    ON NOVELL:
    If I try to insert some special characters,
    they arrive just fine into the database.
    The problem is when I want to display them.
    I tried with jsp directive to set the charset,
    or with HTML meta tag - no result al all.
    Everytime I use the same work station, and the same browser to do the tests.
    Please help with any ideas.
    Another question, maybe relayed:
    Can I set Tomcat so that when it creates the servlets it uses a custom charset I can indicate?
    THANK YOU!

    The characters I want to use are french characters, e-acute, etc.
    I take the data with request.getParameter, POST method, etc.

  • The email account name contains special characters

    im trying to create a apple id without payment method for my cousin. his email does not contains any special character and it's a valid email...my problem is that "the email account name contains special characters" message is always showing..any help please. thanks

    Goto the Email set up, it will show you the Current Email accounts you have set up, there will be an option to "Edit" You can change the Display Name (what other's see in the From line) and Account Name, what shows up when you mouse over your email icon on your Blackberry.
    Brownie
    Tour 9630
    IT Professional

  • I can't download any apps, it keeps telling me "There is a billing problem with a previous purchanse"!  I've checked all my account info and can't figure out the prob??

    I can't download any apps, it keeps telling me "There is a billing problem with a previous purchanse"!  I've checked all my account info and can't figure out the prob??

    Contact Itunes support and ask them

  • Help! I figured out the problem - sort of.

    So I posted my problem two days ago. I found that only some of my pages were loading in Firefox 3. I didn't know why (see below for original posting).
    With a little experimenting, I have found that republishing the pages that "work" actually causes them to no longer work. I'm pretty sure I published these pages that worked with previous versions of iWeb. Now that I'm using the latest version of iWeb, any new pages (blogs) cannot be viewed by Firefox 3.
    Is there anyone out there with a work around? Solution? Anyone?
    HERE IS THE ORIGINAL POST:
    HELP- Take a look at my pages- What's wrong?
    Posted: Nov 19, 2008 3:19 PM
    Reply Email
    Here are links to my pages: the first link doesn't load in Firefox 3. The second link loads fine. I can't figure out the difference between the two pages. Any web gurus out there that can determine my problem? I really want people using firefox to be able to view my site.
    THANKS!!
    LINK 1:
    http://web.me.com/reeldamian/DAMIANDP.COMNYO/COMMERCIAL_REEL/COMMERCIALREEL.html
    LINK 2:
    http://web.me.com/reeldamian/DAMIANDP.COM_NYO/FX/FX.html
    Message was edited by: 3pointer

    I installed oracle apps 11.5.10.2 using steps given in thread and I didnt have any problems. I then installed it on my friends laptop and it worked fine. but recenly it stopped working in my laptop, i was not able to open login page from main url (http://www.msb.ora:8000) it gave error : page cannot be found
    So i reinstalled it on fresh system again.. but since then it not working. I have tried atleast 9-10 times and everytime it ends up with same error "jsp is not responding", I am able to open the rapid install main page but I am not able to open login page. it says page cannot be found. i followed all the steps suggested by you guys in this thread to solve this error, but still have no luck.
    I have tried following steps to solve the issue
    1) As its recommended to installed apps on fressh os without jdk i did the same, as i didnt worked i tried installation with jdk preinstalled,
    2) i have tried on both windows server 2003 and win xp professional
    3) I tried to change the jdk path in jser.properties file
    I will really appriciate any help to solve this problem. Below is system details:
    os: windows server 2003
    ram : 1gb
    processor: 1.83ghz core 2 duo
    Oracle apps 11.5.10.2
    java version: 1.4.2_04 ( installed by rapidwiz)

  • How do I figure out if I have usb 3.0?  I am trying to buy compatible external hard drive (western digital my passport for mac) and I can not figure out if it will work with my mac book.

    how do I figure out if I have usb 3.0?  I am trying to buy compatible external hard drive (western digital my passport for mac) and I can not figure out if it will work with my mac book.

    Dont buy a Western Digital, get a Hitachi or Seagate (Toshiba is made by Hitachi). These are the most reliable, and the HD used inside Macs.
    ALL HD can be made compatible with your MAC (including a WD if you already bought same), ......they just need to be formatted for the Mac platform, format them in Disk Utility as Mac OSX extended journaled. 

  • The screen of my MacBook Pro itself periodically switches the color. That is, with the usual colors, on some blue. What to do? Should be repaired, or you can figure out the most? HELP ME PLEASE!

    The screen of my laptop itself periodically switches the color. That is, with the usual colors, on some blue. What to do? Should be repaired, or you can figure out the most? HELP ME PLEASE!

    LambChops1,
    I’m using Mavericks, and it’s still possible to select text to drag and for cutting and pasting. Left-clicking and right-clicking is still possible, too.
    Try opening the Trackpad pane of System Preferences, and select the Point & Click tab. To right-click, ensure that your “Secondary click” checkbox has been checked; the small print under “Secondary click” is a dropdown menu which allows you to select the form of right-clicking that you prefer. (For instance, mine is set to “Click in bottom right corner”.) For left-clicking, is your “Tap to click” checkbox checked, or unchecked? (Mine is unchecked, since I prefer pushing for left-clicking over tapping to do so.)

  • I upgraded to the new version "4" and it will not load any websites..."unable to locate server" is all i get and cannot figure out the problem ....had to delete and go back to an earlier version whichi understand is unsafe...what to do?

    # Question
    I upgraded to the new version "4" and it will not load any websites..."unable to locate server" is all i get and cannot figure out the problem ....had to delete and go back to an earlier version which i understand is unsafe...what to do?

    That was probably caused by your Firewall blocking the newly installed version of Firefox.
    No known security issues with Firefox 3.6.17, which was just released this past week.

  • I Ipod class wont play TED and other video podcasts.  The genious bar could not figure out the problem.  This problem is not isolated to a single computer.  Secondly, the convert to ipod version feature in Itunes does not resolve the problem.

    My Ipod classic wont play TED, The Grid, Techzilla and other video podcasts (but not all video podcasts).  The genious bar could not figure out the problem. Instead, the Apple store gave me credit towards a new classic, which produced the same problem.  This problem is not isolated to a single computer.  Secondly, the convert to ipod version feature in Itunes does not resolve the problem.  Lastly, I tried restoring the ipod to no avail.  I've heard this is a video codec problem. 

    See this extensive older thread on the issue.
    https://discussions.apple.com/thread/2813428?start=45&tstart=0
    B-rock

  • I have an IPad with a Restriction code that we cannot remember.  Is it possible to delete and restore the IPad without the code?  If not how do I figure out the code or how t? o remove it?

    I have an IPad with a Restriction code that we cannot remember.  Is it possible to delete and restore the IPad without the code.  If not how do I figure out the code or how to remove it?

    The only option is to wipe the device clean and restore it to factory settings.  Hope you have a backup.
    Follow the instructions in  iOS: How to back up your data and set up your device as a new device http://support.apple.com/kb/HT4137 to restore the device to factory settings.
    Once you have setup the device as a new one, you can then sync it back with your iTunes account and all your music, apps, contacts and any other content sync'ed with iTunes will be loaded on the device. Any content that is stored only on the device and not sync'ed with iTunes, like app logins or data, will be lost during this process. Be forewarned that this is a long process and can take a couple of hours or more to complete. This can be painful, but it is necessarily so to prevent users from working around the security settings. After the restore is complete, you can setup a new Restrictions passcode. Make a note of the passcode to avoid this situation in future.
     Cheers, Tom

  • TS2446 I can not purchase on ITunes for the first time because I forgot the answer to my security questions, is there a way I can log into my account and figure out the awensers to the questions?

    I can not purchase on ITunes for the first time because I forgot the answer to my security questions, is there a way I can log into my account and figure out the awensers to the questions?

    Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities

Maybe you are looking for