Convert PC ANSI to Mac Standard Roman
Convert PC ANSI to Mac Standard Roman
- Subject: Convert PC ANSI to Mac Standard Roman
- From: David Bradley <email@hidden>
- Date: Wed, 16 Aug 2006 12:10:14 +0100
I am populating a QuarkXPress document with images and text from a
SQL Server database that is on a Windows server. I am connecting to
the SQL Server through MacSQL.
Everything runs fine except, when I bring in description from the
database and put them into the Quark file, they contain particular
characters that display differently to when you view them in the
database.
I have found out that this is because the decimal value of a
character on a PC refers to a different character on a Mac
For example
TM on a PC is 153 whereas on a Mac it is 170, and a bullet point on a
PC is 149 whereas on a Mac it is 165.
Does anyone know of a program or a piece of script I can include in
my Applescript to convert the decimal code of the particular
characters so that they are the same on both PC and Mac.
I did find a free program called 'Cyclone', however I can not get it
too work. This is the part of code I was including it:
set strCatDesc_General to item 8 of theItems as string
tell application "Cyclone"
convert strCatDesc_General from "Win_ANSI" to "Mac_Standard_Roman"
end tell
have also tried:
set strCatDesc_General to item 8 of theItems
tell application "Cyclone"
convert strCatDesc_General from "Win_ANSI" to "Mac_Standard_Roman"
end tell
set strCatDesc_General to strCatDesc_General as string
but still had no effect.
I would be very appreciative of any help
David Bradley
Senior Web Programmer
Globe Media
Brookfields Way
Manvers
Wath upon Dearne
Rotherham
S63 5DL
Tel: 01709 768000
Fax: 01709 768011
email@hidden
www.globe-media.com
_______________________________________________
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