Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AS and Unicode characters





I don't know the context in which you're trying to do those conversions, but you might consider
whether Applescript is the best way to solve your problem:


For interactive input, there are various keyboard input modules available as well as the
'Special Characters...' character palette. ( and character encoding options settings for
a number of editors as well as Terminal.app )


For batch conversions, there is iconv ( program and libraries ), encoding conversion libraries
in Python ( and probably perl and others ), xmllint and xsltproc ( can convert named and numeric
entities and convert character encodings in xml files -- and you could just wrap text in an xml
wrapper to use those programs for conversion. )


If you're trying to convert encodings of a whole file, one of these might already do most of what
you want.


-- Steve Majewski / UVA Alderman Library







_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users


This email sent to email@hidden
References: 
 >AS and Unicode characters (From: KOENIG Yvan <email@hidden>)
 >Re: AS and Unicode characters (From: "Mark J. Reed" <email@hidden>)
 >Re: AS and Unicode characters (From: KOENIG Yvan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.