I had to check for a degree symbol in text and replace with HTML using applescript.
When looping thru characters if the character was a O or o (just your normal o as in food) and I was checking for an actual degree symbol, it sees the upper and lower case o as a º
Very odd. Not a big deal b/c I can trap differently using the ascii # which is 188, but just strange how the degree symbol = o
Here’s a script you can test, you can see I am obviously checking for the “º symbol, but the If/Then returns the 11th character which is a o.
set x to “here are some words”
repeat with c from 1 to length of x
if character c of x is “º” then
return (c & " character - " & character c of x as string)