0
我有这个AppleScript,它返回iTunes中当前正在播放的艺术家的名字。不幸的是,如果艺术家名字包含特殊字符,比如ú,则会输出奇怪的字符。我怎样才能解决这个问题?AppleScript输出中的奇怪字符
tell application "iTunes"
if player state is playing then
try
set myTrack to artist of current track
on error
return ""
end try
return myTrack
end if
end tell
是不是UTF-8苹果的默认?即使我在iTunes的ID3字段框中直接从键盘输入ú,问题仍然存在。 – Zade 2012-08-07 00:38:57