Re: unicode to ascii (not MacRoman)
Re: unicode to ascii (not MacRoman)
- Subject: Re: unicode to ascii (not MacRoman)
- From: Emmanuel <email@hidden>
- Date: Fri, 4 Mar 2005 01:29:41 +0100
At 5:40 PM -0500 3/3/05, Steven D.Majewski wrote:
I've read all of the archived messages I could find looking for a way
to coerce the unicode text I'm getting from iTunes into plain ASCII.
After none of the many methods listed worked for me, I finally figured
out from Chris Nebel's message:
http://lists.apple.com/archives/applescript-implementors/2004/Feb/msg00039.html
that when folks in those threads were talking about ASCII plain text, what
they *really* meant was MacRoman (or some other extended encoding)
8-bit chars.
IS there any way within applescript (other than calling out to a
python or perl
script with 'do shell script' ) to coerce a unicode string into ASCII ?
I have an iTunes script which gets the artist of the current selection
( or playing tune ) and does a lookup at our music library, but the search
doesn't like (for example) the o-with-circumflex in "Antônio Carlos Jobim"
A reduced question could be, is there a way of coerce MacRoman to
ASCII, and even with this more limited scope I don't know an answer.
For me, it's your search which requires fixing, not the artist's
name. I'm not a specialist of iTunes, how comes that the search
doesn't like "ô"? I scripted iTunes long ago, I can't remember such
problems.
I mean, anyway we are searching Unicode in a XML, it's supposed to
work flawlessly.
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden