string.latinToMac

Syntax string.latinToMac (s)

Params s, a string.

Action Converts text from Latin (Windows) to Macintosh.

Returns The converted text.

Examples string.latinToMac ("Test") //no change to low ASCII characters

   » "Test"

string.latinToMac ("Voulez-vous du thé?") //the é is converted

   » "Voulez-vous du thŽ?"

Notes This verb supercedes the latinToMac.convert UCMD used on Macs.

Conversion from Latin to Mac character sets is done in two main places on Macs. In mainResponder, incoming POST args are converted. In Radio, OPML documents are converted before being displayed in an outline.

Though this verb is used mainly on Macs, it's available on Windows.

This verb is new in Frontier 7.

See Also string.macToLatin

Discuss