Going by what Starbucks said above, try using $chr(26) in your script rather than the literal character.